idasit/dbus_fast/signature.pxd

27 lines
480 B
Cython
Raw Permalink Normal View History

2024-12-14 14:55:37 +01:00
"""cdefs for signature.py"""
import cython
cdef class SignatureType:
cdef public str token
cdef public list children
cdef str _signature
cdef class SignatureTree:
cdef public str signature
cdef public list types
cdef class Variant:
cdef public SignatureType type
cdef public str signature
cdef public object value
@cython.locals(signature_tree=SignatureTree)
cdef _init_variant(self, object signature, object value, bint verify)