tests/roots/test-changes/c-api.rst
raw| 1 | .. highlight:: c |
| 2 | |
| 3 | |
| 4 | Memory |
| 5 | ====== |
| 6 | |
| 7 | .. c:function:: void* Test_Malloc(size_t n) |
| 8 | |
| 9 | Allocate *n* bytes of memory. |
| 10 | |
| 11 | .. version-changed:: 0.6 |
| 12 | |
| 13 | Can now be replaced with a different allocator. |
| 14 | |
| 15 | System |
| 16 | ------ |
| 17 | |
| 18 | Access to the system allocator. |
| 19 | |
| 20 | .. version-added:: 0.6 |
| 21 | |
| 22 | .. c:function:: void* Test_SysMalloc(size_t n) |
| 23 | |
| 24 | Allocate *n* bytes of memory using system allocator. |