mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-13 05:53:00 +00:00
Initial Clock Format
This commit is contained in:
27
rpi-rgb-led-matrix-master/bindings/python/rgbmatrix/core.pxd
Normal file
27
rpi-rgb-led-matrix-master/bindings/python/rgbmatrix/core.pxd
Normal file
@@ -0,0 +1,27 @@
|
||||
# cython: language_level=3str
|
||||
from . cimport cppinc
|
||||
|
||||
cdef class Canvas:
|
||||
cdef cppinc.Canvas *_getCanvas(self) except *
|
||||
|
||||
cdef class FrameCanvas(Canvas):
|
||||
cdef cppinc.FrameCanvas *__canvas
|
||||
|
||||
cdef class RGBMatrix(Canvas):
|
||||
cdef cppinc.RGBMatrix *__matrix
|
||||
|
||||
cdef class RGBMatrixOptions:
|
||||
cdef cppinc.Options __options
|
||||
cdef cppinc.RuntimeOptions __runtime_options
|
||||
# Must keep a reference to the encoded bytes for the strings,
|
||||
# otherwise, when the Options struct is used, it will be garbage collected
|
||||
cdef bytes __py_encoded_hardware_mapping
|
||||
cdef bytes __py_encoded_led_rgb_sequence
|
||||
cdef bytes __py_encoded_pixel_mapper_config
|
||||
cdef bytes __py_encoded_panel_type
|
||||
cdef bytes __py_encoded_drop_priv_user
|
||||
cdef bytes __py_encoded_drop_priv_group
|
||||
|
||||
# Local Variables:
|
||||
# mode: python
|
||||
# End:
|
||||
Reference in New Issue
Block a user