diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2023-05-12 17:03:14 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-06-01 16:21:37 +1000 |
commit | 5e0452125146f3afed89c09f5813790156d24471 (patch) | |
tree | 7c8226caf407554a8d5fc7c5a78ac056c9c82e71 /examples/usercmodule/cexample/examplemodule.c | |
parent | 6a8114eee8ff486d812b4efc5a94880b565640f3 (diff) | |
download | micropython-5e0452125146f3afed89c09f5813790156d24471.tar.gz micropython-5e0452125146f3afed89c09f5813790156d24471.zip |
examples/usercmodule: Add a sub-package example.
This demonstrates how to add a sub-package in a user c module, as well
as how to define the necessary qstrs and enable the feature in the build.
This is used by the unix coverage build to test this feature.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'examples/usercmodule/cexample/examplemodule.c')
-rw-r--r-- | examples/usercmodule/cexample/examplemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/usercmodule/cexample/examplemodule.c b/examples/usercmodule/cexample/examplemodule.c index ccce03bcbd..9416613ba9 100644 --- a/examples/usercmodule/cexample/examplemodule.c +++ b/examples/usercmodule/cexample/examplemodule.c @@ -68,7 +68,7 @@ MP_DEFINE_CONST_OBJ_TYPE( locals_dict, &example_Timer_locals_dict ); -// Define all properties of the module. +// Define all attributes of the module. // Table entries are key/value pairs of the attribute name (a string) // and the MicroPython object reference. // All identifiers and strings are written as MP_QSTR_xxx and will be |