Changeset 1444 in svn for trunk/processor/hashtable.m4


Ignore:
Timestamp:
2013-11-06T18:24:29Z (22 months ago)
Author:
Xuefer
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.