diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-20 11:52:12 +0200 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-20 11:52:12 +0200 |
| commit | 640e0b221e972f9a2da2d870bf3fc5a93c18f0ec (patch) | |
| tree | 0af9af3d5d8b1bcca3bcbae917e19e8a03a5a82c /py/mpconfig.h | |
| parent | 438b3d26b5337493dfe345495605fe08ea306bf9 (diff) | |
py: Implement very simple frozen modules support.
Only modules (not packages) supported now. Source modules can be converted
to frozen module structures using tools/make-frozen.py script.
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index eb39d54c4..b54bd6544 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -328,6 +328,11 @@ typedef double mp_float_t; #define MICROPY_MODULE_WEAK_LINKS (0) #endif +// Whether frozen modules are supported +#ifndef MICROPY_MODULE_FROZEN +#define MICROPY_MODULE_FROZEN (0) +#endif + // Whether you can override builtins in the builtins module #ifndef MICROPY_CAN_OVERRIDE_BUILTINS #define MICROPY_CAN_OVERRIDE_BUILTINS (0) |
