summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-changes/c-api.rst
blob: f0ad413cd2ec62c68e20be9146b89537fbe39434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.. highlight:: c


Memory
======

.. c:function:: void* Test_Malloc(size_t n)

   Allocate *n* bytes of memory.

   .. versionchanged:: 0.6

      Can now be replaced with a different allocator.

System
------

Access to the system allocator.

.. versionadded:: 0.6

.. c:function:: void* Test_SysMalloc(size_t n)

   Allocate *n* bytes of memory using system allocator.