Skip to content

Commit

Permalink
feat: add additional cython types to marshaller (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Oct 2, 2022
1 parent f32085f commit ddba96a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/dbus_fast/_private/marshaller.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import cython
cdef class Marshaller:

cdef object signature_tree
cdef object _buf
cdef bytearray _buf
cdef object body


Expand All @@ -25,10 +25,23 @@ cdef class Marshaller:
@cython.locals(
array_len=cython.uint,
written=cython.uint,
array_len_packed=cython.bytes,
)
cpdef write_array(self, object array, object type)

@cython.locals(
written=cython.uint,
)
cpdef write_struct(self, object array, object type)

@cython.locals(
written=cython.uint,
)
cpdef write_single(self, object type_, object body)

cpdef marshall(self)

@cython.locals(
offset=cython.ulong,
)
cpdef _construct_buffer(self)

0 comments on commit ddba96a

Please sign in to comment.