summaryrefslogtreecommitdiffstatshomepage
path: root/lib/utils/pyexec.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-07-08 22:27:39 +1000
committerDamien George <damien.p.george@gmail.com>2018-07-08 22:27:39 +1000
commit4cd853fbd286703a7eb3fb5a453e112e4712f622 (patch)
tree49311e7cc9e7089733601c93e6e745290528384c /lib/utils/pyexec.c
parentd9cdb880ff9588c7e7f9c9374d2b333187cb990f (diff)
downloadmicropython-4cd853fbd286703a7eb3fb5a453e112e4712f622.tar.gz
micropython-4cd853fbd286703a7eb3fb5a453e112e4712f622.zip
py/objmodule: Make mp_obj_module_get_globals an inline function.
Because this function is simple it saves code size to have it inlined. Being an auxiliary helper function (and only used in the py/ core) the argument should always be an mp_obj_module_t*, so there's no need for the assert (and having it would require including assert.h in obj.h).
Diffstat (limited to 'lib/utils/pyexec.c')
0 files changed, 0 insertions, 0 deletions