From 37684729283f62fd7f1e74bc2b318dc9ad2cb695 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Fri, 17 Jan 2025 12:12:01 -0500 Subject: Account for dependency changes, platform testing Signed-off-by: Andrew Opalach --- src/portal/cpy/str.pxd | 4 ++-- src/portal/cpy/types.pxd | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/portal/cpy') 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 "": ctypedef struct str: - u32 len + u32 length u32 alloc char *data @@ -11,7 +11,7 @@ cdef extern from "": cdef extern from "": 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 "": + pass ctypedef uint8_t u8 ctypedef int8_t s8 -- cgit v1.2.3-101-g0448