-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add cython extension for messages (#73)
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
"""cdefs for message.py""" | ||
|
||
import cython | ||
|
||
|
||
cdef class Message: | ||
|
||
cdef public str destination | ||
cdef public str path | ||
cdef public str interface | ||
cdef public str member | ||
cdef public object message_type | ||
cdef public object flags | ||
cdef public str error_name | ||
cdef public unsigned int reply_serial | ||
cdef public str sender | ||
cdef public list unix_fds | ||
cdef public str signature | ||
cdef public object signature_tree | ||
cdef public list body | ||
cdef public unsigned int serial | ||
|
||
cpdef _marshall(self, negotiate_unix_fd: bint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters