summaryrefslogtreecommitdiff
path: root/src/portal/cpy
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-01-17 12:12:01 -0500
committerAndrew Opalach <andrew@akon.city> 2025-01-17 12:12:01 -0500
commit37684729283f62fd7f1e74bc2b318dc9ad2cb695 (patch)
tree2f5be73bf64ac6573e35e8f499515659472a14c9 /src/portal/cpy
parentd1f1eb9b3713a450c0736caad17febae0721af4d (diff)
downloadcamu-37684729283f62fd7f1e74bc2b318dc9ad2cb695.tar.gz
camu-37684729283f62fd7f1e74bc2b318dc9ad2cb695.tar.bz2
camu-37684729283f62fd7f1e74bc2b318dc9ad2cb695.zip
Account for dependency changes, platform testing
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/portal/cpy')
-rw-r--r--src/portal/cpy/str.pxd4
-rw-r--r--src/portal/cpy/types.pxd4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/portal/cpy/str.pxd b/src/portal/cpy/str.pxd
index 3ef1e90..77cd093 100644
--- a/src/portal/cpy/str.pxd
+++ b/src/portal/cpy/str.pxd
@@ -2,7 +2,7 @@ include "types.pxd"
cdef extern from "<al/str.h>":
ctypedef struct str:
- u32 len
+ u32 length
u32 alloc
char *data
@@ -11,7 +11,7 @@ cdef extern from "<al/str.h>":
cdef extern from "<al/wstr.h>":
ctypedef struct wstr:
- u32 len
+ u32 length
u32 alloc
wchar_t *data
diff --git a/src/portal/cpy/types.pxd b/src/portal/cpy/types.pxd
index 09cb224..d630afa 100644
--- a/src/portal/cpy/types.pxd
+++ b/src/portal/cpy/types.pxd
@@ -8,7 +8,9 @@ from libc.stdint cimport uint64_t
from libc.stdint cimport int64_t
from libc.stddef cimport wchar_t
-ctypedef bint bool
+from libcpp cimport bool
+cdef extern from "<stdbool.h>":
+ pass
ctypedef uint8_t u8
ctypedef int8_t s8