pocketpy/docs/C-API/specials.md
blueloveTH fd2996eb87 ...
2023-07-15 12:22:53 +08:00

497 B

title icon order
Specials dot 6
  • void pkpy_free(void* p)

    Wraps free(p) in C++.

  • pkpy_CString pkpy_string(const char*)

    Construct a pkpy_CString from a null-terminated C string.

  • pkpy_CName pkpy_name(const char*)

    Construct a pkpy_CName from a null-terminated C string. You should cache the result of this function if you are going to use it multiple times.

  • pkpy_CString pkpy_name_to_string(pkpy_CName)

    Convert a pkpy_CName to a pkpy_CString.