diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-24 13:12:09 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-24 13:12:09 +0300 |
commit | 4cdddfed8e89a09875aa3ef3de06c295a758d9a9 (patch) | |
tree | 73ba690c3927da67185a71dbb2e05319a10b0c89 /docs/library | |
parent | b50659e13775fbf44c5b8f4b1261fc8f46635321 (diff) | |
download | micropython-4cdddfed8e89a09875aa3ef3de06c295a758d9a9.tar.gz micropython-4cdddfed8e89a09875aa3ef3de06c295a758d9a9.zip |
docs/gc: Mark mem_alloc()/mem_free() as uPy-specific.
Diffstat (limited to 'docs/library')
-rw-r--r-- | docs/library/gc.rst | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/library/gc.rst b/docs/library/gc.rst index 01e63ae51e..94422f23eb 100644 --- a/docs/library/gc.rst +++ b/docs/library/gc.rst @@ -24,6 +24,17 @@ Functions Return the number of bytes of heap RAM that are allocated. + .. admonition:: Difference to CPython + :class: attention + + This function is MicroPython extension. + .. function:: mem_free() - Return the number of bytes of available heap RAM. + Return the number of bytes of available heap RAM, or -1 if this amount + is not known. + + .. admonition:: Difference to CPython + :class: attention + + This function is MicroPython extension. |