mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
examples/usercmodule: Add example of a native C class.
This shows how ports can add their own custom types/classes. It is part of the unix coverage build, so we can use it for tests too. Signed-off-by: Laurens Valk <laurens@pybricks.com>
This commit is contained in:
committed by
Damien George
parent
1d27c7d423
commit
a67989aa20
2
tests/misc/cexample_class.py.exp
Normal file
2
tests/misc/cexample_class.py.exp
Normal file
@@ -0,0 +1,2 @@
|
||||
<Timer>
|
||||
True
|
||||
Reference in New Issue
Block a user