- Timestamp:
- 04/30/07 03:51:13 (21 months ago)
- Files:
-
- 1 modified
-
NEWT0/trunk/src/newt_core/NewtPkg.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
NEWT0/trunk/src/newt_core/NewtPkg.c
r98 r100 293 293 * 294 294 * @param pkg [inout] the package 295 * @param offset [in] wh gere to write the info ref295 * @param offset [in] where to write the info ref 296 296 * @param frame [in] frame containing the data 297 297 * @param sym [in] symbol of slot containing the data … … 350 350 // calculate the size of this chunk 351 351 dst = PkgAlign(pkg, pkg->size); 352 PkgPartSetPrecedent(pkg, frame, dst); 352 353 n = NewtFrameLength(frame); 353 354 size = (n+3)*4; … … 389 390 // calculate the size of this chunk 390 391 dst = PkgAlign(pkg, pkg->size); 392 PkgPartSetPrecedent(pkg, array, dst); 391 393 n = NewtArrayLength(array); 392 394 size = (n+3)*4; … … 428 430 // calculate the size of this chunk 429 431 dst = PkgAlign(pkg, pkg->size); 432 PkgPartSetPrecedent(pkg, obj, dst); 430 433 size = NewtBinaryLength(obj); 431 434 data = NewtRefToBinary(obj); … … 520 523 return kNewtRefNIL; // do not create a precedent 521 524 } 522 523 // make this ref available for later incarnations of the same object524 PkgPartSetPrecedent(pkg, obj, dst);525 525 526 526 return dst;
