Ignore:
Timestamp:
2013-11-06T19:24:29+01:00 (6 months ago)
Author:
moo
Message:

relocate WIP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/hashtable.m4

    r1440 r1444  
    7373        DONE(arBuckets) 
    7474        DISABLECHECK(` 
    75         for (srcBucket = SRCPTR(`Bucket', `pListHead'); srcBucket != NULL; srcBucket = SRCPTR_EX(`Bucket', `srcBucket->pListNext')) { 
    76             IFPTRMOVE(`Bucket *dstBucket = srcBucket;') 
     75        for (srcBucket = SRCPTR_EX(`Bucket', SRC(`pListHead')); srcBucket != NULL; srcBucket = SRCPTR_EX(`Bucket', `srcBucket->pListNext')) { 
    7776            IFCALCCOPY(`bucketsize = BUCKET_SIZE(srcBucket);') 
    7877            ALLOC(dstBucket, char, bucketsize, , Bucket) 
     
    108107                dnl $6 = `' to skip alloc 
    109108                STRUCT_P_EX(`$2', dstBucket->pData, (($2*)srcBucket->pData), `', `$3', ` ') 
    110                 FIXPOINTER_EX(`$2', dstBucket->pData, srcBucket->pData) 
     109                FIXPOINTER_EX(`$2', dstBucket->pData) 
    111110            } 
    112111            else { 
     
    129128                prev = dstBucket; 
    130129            ') 
    131             FIXPOINTER_EX(`Bucket', `dstBucket', `srcBucket') 
     130            FIXPOINTER_EX(`Bucket', `dstBucket') 
    132131            IFCOPY(` 
    133132                DST(`arBuckets[n]') = dstBucket; 
Note: See TracChangeset for help on using the changeset viewer.