Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uPython-mirror
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
uPython-mirror
Commits
817acad9
Commit
817acad9
authored
Feb 20, 2018
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
py/objfun: Fix old_scope_flags patch.
parent
7445997c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
py/objfun.c
py/objfun.c
+1
-1
No files found.
py/objfun.c
View file @
817acad9
...
...
@@ -215,9 +215,9 @@ STATIC void dump_args(const mp_obj_t *a, size_t sz) {
code_state->fun_bc = _fun_bc; \
code_state->ip = 0; \
uint8_t scope_flags = mp_setup_code_state(code_state, n_args, n_kw, args); \
/* set the scope flags for this function */
\
code_state->old_scope_flags = MP_STATE_THREAD(scope_flags); \
MP_STATE_THREAD(scope_flags) = scope_flags; \
code_state->old_globals = mp_globals_get(); \
#if MICROPY_STACKLESS
mp_code_state_t
*
mp_obj_fun_bc_prepare_codestate
(
mp_obj_t
self_in
,
size_t
n_args
,
size_t
n_kw
,
const
mp_obj_t
*
args
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment