From 5e0452125146f3afed89c09f5813790156d24471 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Fri, 12 May 2023 17:03:14 +1000 Subject: 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 --- examples/usercmodule/cppexample/examplemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/usercmodule/cppexample/examplemodule.c') diff --git a/examples/usercmodule/cppexample/examplemodule.c b/examples/usercmodule/cppexample/examplemodule.c index 5c84eccd79..96a1a74438 100644 --- a/examples/usercmodule/cppexample/examplemodule.c +++ b/examples/usercmodule/cppexample/examplemodule.c @@ -4,7 +4,7 @@ // See example.cpp for the definition. STATIC MP_DEFINE_CONST_FUN_OBJ_2(cppfunc_obj, cppfunc); -// 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 -- cgit v1.2.3