mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-12 10:25:08 +01:00
Add char26_t and char32_t defines for cython.
This commit is contained in:
parent
bf7ccb484c
commit
a7d9e11f3d
@ -21,6 +21,8 @@ STDLIB_INCLUDES = {
|
||||
"int32_t",
|
||||
"uint64_t",
|
||||
"int64_t",
|
||||
"uint_least16_t",
|
||||
"uint_least32_t"
|
||||
],
|
||||
"wchar.h": ["wchar_t", "size_t"],
|
||||
"uchar.h": [
|
||||
@ -369,6 +371,9 @@ if __name__ == "__main__":
|
||||
from libc.stddef cimport wchar_t, size_t
|
||||
from libc.stdint cimport {', '.join(STDLIB_INCLUDES['stdint.h'])}
|
||||
|
||||
ctypedef uint_least16_t char16_t
|
||||
ctypedef uint_least32_t char32_t
|
||||
|
||||
cdef extern from "{header_name}" nogil:
|
||||
|
||||
\"\"\"
|
||||
|
Loading…
Reference in New Issue
Block a user