Ignore:
Timestamp:
2013-11-13T05:19:00+01:00 (9 months ago)
Author:
moo
Message:

relocate: marco name PTR_FROM_VIRTUAL_EX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/hashtable.m4

    r1471 r1472  
    7575        DONE(arBuckets) 
    7676        DISABLECHECK(` 
    77         for (srcBucket = UNRELOCATED_EX(`Bucket', SRC(`pListHead')); srcBucket != NULL; srcBucket = UNRELOCATED_EX(`Bucket', `srcBucket->pListNext')) { 
     77        for (srcBucket = PTR_FROM_VIRTUAL_EX(`Bucket', SRC(`pListHead')); srcBucket != NULL; srcBucket = PTR_FROM_VIRTUAL_EX(`Bucket', `srcBucket->pListNext')) { 
    7878            IFCALCCOPY(`bucketSize = BUCKET_SIZE(srcBucket);') 
    7979            ALLOC(dstBucket, char, bucketSize, , Bucket) 
     
    148148        for (n = 0; n < SRC(`nTableSize'); ++n) { 
    149149            if (SRC(`arBuckets[n]')) { 
    150                 next = UNRELOCATED_EX(`Bucket', `DST(`arBuckets[n]')'); 
     150                next = PTR_FROM_VIRTUAL_EX(`Bucket', `DST(`arBuckets[n]')'); 
    151151                do { 
    152152                        dstBucket = next; 
    153                         next = UNRELOCATED_EX(`Bucket', `next->pNext'); 
     153                        next = PTR_FROM_VIRTUAL_EX(`Bucket', `next->pNext'); 
    154154                        if (dstBucket->pListLast) { 
    155155                            RELOCATE_EX(Bucket, dstBucket->pListLast) 
Note: See TracChangeset for help on using the changeset viewer.