summaryrefslogtreecommitdiffstatshomepage
path: root/py/frozenmod.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/frozenmod.h')
-rw-r--r--py/frozenmod.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/py/frozenmod.h b/py/frozenmod.h
index 67caced14d..a1638d2293 100644
--- a/py/frozenmod.h
+++ b/py/frozenmod.h
@@ -24,4 +24,10 @@
* THE SOFTWARE.
*/
-mp_lexer_t *mp_find_frozen_module(const char *str, int len);
+enum {
+ MP_FROZEN_NONE,
+ MP_FROZEN_STR,
+ MP_FROZEN_MPY,
+};
+
+int mp_find_frozen_module(const char *str, size_t len, void **data);