Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
VM Globals. More...
Go to the source code of this file.
Functions | |
PmReturn_t | global_init (void) |
Initializes the global struct. | |
PmReturn_t | global_setBuiltins (pPmFunc_t pmod) |
Sets the builtins dict into the given module's attrs. | |
PmReturn_t | global_loadBuiltins (void) |
Loads the "__bt" module and sets the builtins dict (PM_PBUILTINS) to point to __bt's attributes dict. | |
Variables | |
volatile PmVmGlobal_t | gVmGlobal |
Most PyMite globals all in one convenient place. |
Detailed Description
VM Globals.
VM globals operations. PyMite's global struct def and initial values.
Definition in file global.c.
Function Documentation
PmReturn_t global_init | ( | void | ) |
PmReturn_t global_loadBuiltins | ( | void | ) |
PmReturn_t global_setBuiltins | ( | pPmFunc_t | pmod ) |
Sets the builtins dict into the given module's attrs.
If not yet done, loads the "__bt" module via global_loadBuiltins(). Restrictions described in that functions documentation apply.
- Parameters:
-
pmod Module whose attrs receive builtins
- Returns:
- Return status
Variable Documentation
volatile PmVmGlobal_t gVmGlobal |
Generated on Tue Jul 12 2022 17:07:01 by
