Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
018bbb6a08
  1. 8
      iguana/iguana_ramchain.c

8
iguana/iguana_ramchain.c

@ -578,8 +578,14 @@ int64_t iguana_hashmemsize(int64_t numtxids,int64_t numunspents,int64_t numspend
return(allocsize);
}
void _iguana_ramchain_setptrs(RAMCHAIN_PTRPS,struct iguana_ramchaindata *rdata)
void *_iguana_ramchain_setptrs(RAMCHAIN_PTRPS,struct iguana_ramchaindata *rdata)
{
if ( rdata == 0 )
{
printf("_iguana_ramchain_setptrs: null rdata\n");
return(0);
}
printf("rdata.%p\n",rdata);
*B = (void *)(long)((long)rdata + (long)rdata->Boffset);
*T = (void *)(long)((long)rdata + (long)rdata->Toffset);
*Kspace = (void *)(long)((long)rdata + (long)rdata->Koffset);

Loading…
Cancel
Save