pocketpy/docs/C-API/general.md
blueloveTH d513a3b459 ...
2023-04-23 12:42:42 +08:00

14 lines
249 B
Markdown

---
title: General
icon: dot
order: 7
---
#### `void pkpy_delete(void* p)`
Delete a pointer allocated by `pkpy_xxx_xxx`.
It can be `VM*`, `REPL*`, `char*`, etc.
!!!
If the pointer is not allocated by `pkpy_xxx_xxx`, the behavior is undefined.
!!!