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.
PmVmGlobal_s Struct Reference
This struct contains ALL of PyMite's globals. More...
#include <global.h>
Data Fields | |
| pPmObj_t | pnone |
| Global none obj (none) | |
| pPmInt_t | pzero |
| Global integer 0 obj. | |
| pPmInt_t | pone |
| Global integer 1 obj. | |
| pPmInt_t | pnegone |
| Global integer -1 obj. | |
| pPmInt_t | pfalse |
| Global boolean False obj. | |
| pPmInt_t | ptrue |
| Global boolean True obj. | |
| pPmString_t | pcodeStr |
| The string "code", used in interp.c RAISE_VARARGS. | |
| pPmDict_t | builtins |
| Dict for builtins. | |
| PmImgPaths_t | imgPaths |
| Paths to available images. | |
| PmNativeFrame_t | nativeframe |
| The single native frame. | |
| uint8_t | errVmRelease |
| PyMite release value for when an error occurs. | |
| uint8_t | errFileId |
| PyMite source file ID number for when an error occurs. | |
| uint16_t | errLineNum |
| Line number for when an error occurs. | |
| pPmList_t | threadList |
| Thread list. | |
| pPmThread_t | pthread |
| Ptr to current thread. | |
| pPmString_t | pinitStr |
| The string "__init__", used in interp.c CALL_FUNCTION. | |
| pPmString_t | pgenStr |
| The string "Generator", used in interp.c CALL_FUNCTION. | |
| pPmString_t | pnextStr |
| The string "next", used in interp.c FOR_ITER. | |
| pPmString_t | pexnStr |
| The string "Exception", used in RAISE_VARARGS. | |
| pPmString_t | pbaStr |
| The global string "bytearray". | |
| pPmString_t | pmdStr |
| The global string "__md". | |
| uint8_t | needSoftSpace |
| Remembers when a space is needed before printing the next object. | |
| uint8_t | somethingPrinted |
| Remembers when something has printed since the last newline. | |
| uint8_t | reschedule |
| Flag to trigger rescheduling. | |
Detailed Description
This struct contains ALL of PyMite's globals.
Definition at line 74 of file global.h.
Field Documentation
| uint8_t errFileId |
| uint16_t errLineNum |
| uint8_t errVmRelease |
| uint8_t needSoftSpace |
| uint8_t reschedule |
| uint8_t somethingPrinted |
Generated on Tue Jul 12 2022 23:13:47 by
1.7.2