summaryrefslogtreecommitdiffstatshomepage
path: root/py/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/scope.h')
-rw-r--r--py/scope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/scope.h b/py/scope.h
index 761a4d7119..8cdcacaaf8 100644
--- a/py/scope.h
+++ b/py/scope.h
@@ -8,7 +8,7 @@ enum {
typedef struct _id_info_t {
// TODO compress this info to make structure smaller in memory
- bool param;
+ MP_BOOL param;
int kind;
qstr qstr;
@@ -55,7 +55,7 @@ typedef struct _scope_t {
} scope_t;
scope_t *scope_new(scope_kind_t kind, mp_parse_node_t pn, uint unique_code_id, uint emit_options);
-id_info_t *scope_find_or_add_id(scope_t *scope, qstr qstr, bool *added);
+id_info_t *scope_find_or_add_id(scope_t *scope, qstr qstr, MP_BOOL *added);
id_info_t *scope_find(scope_t *scope, qstr qstr);
id_info_t *scope_find_global(scope_t *scope, qstr qstr);
id_info_t *scope_find_local_in_parent(scope_t *scope, qstr qstr);