Differences From Artifact [9092415875]:
- File src/OFObject.h — part of check-in [676e09bf77] at 2012-04-21 11:31:32 on branch runtime — Merge branch 'master' into runtime (user: js, size: 16195) [annotate] [blame] [check-ins using] [more...]
To Artifact [2f8f69a869]:
- File
src/OFObject.h
— part of check-in
[050ac82798]
at
2012-06-06 14:05:53
on branch runtime
— Merge branch 'master' into runtime
* master: (17 commits)
Slightly change the memory management API.
... (user: js, size: 16199) [annotate] [blame] [check-ins using] [more...]
︙ | |||
497 498 499 500 501 502 503 | 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 | - - + + - - + + | /** * \brief Allocates memory for the specified number of items and stores it in * the object's memory pool. * * It will be free'd automatically when the object is deallocated. * |
︙ | |||
525 526 527 528 529 530 531 | 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 | - - + + - - + + | * \brief Resizes memory in the object's memory pool to the specific number of * items of the specified size. * * If the pointer is NULL, this is equivalent to allocating memory. * If the size or number of items is 0, this is equivalent to freeing memory. * * \param pointer A pointer to the already allocated memory |
︙ |