diff options
author | Damien George <damien.p.george@gmail.com> | 2015-04-04 15:53:11 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-04 15:53:11 +0100 |
commit | 2801e6fad8b8b3ecdd9c8bc58f9515ff66eca46c (patch) | |
tree | f49a2102931919c96bcde3f1bfa16b0ec8b2e27d /py/objboundmeth.c | |
parent | 7f59b4b2ca28179c72aa12f35fe59cb14017b5b0 (diff) |
py: Some trivial cosmetic changes, for code style consistency.
Diffstat (limited to 'py/objboundmeth.c')
-rw-r--r-- | py/objboundmeth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objboundmeth.c b/py/objboundmeth.c index 69ae263af..6e3c5256a 100644 --- a/py/objboundmeth.c +++ b/py/objboundmeth.c @@ -79,7 +79,7 @@ STATIC void bound_meth_load_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { } #endif -const mp_obj_type_t bound_meth_type = { +STATIC const mp_obj_type_t mp_type_bound_meth = { { &mp_type_type }, .name = MP_QSTR_bound_method, #if MICROPY_ERROR_REPORTING == MICROPY_ERROR_REPORTING_DETAILED @@ -93,7 +93,7 @@ const mp_obj_type_t bound_meth_type = { mp_obj_t mp_obj_new_bound_meth(mp_obj_t meth, mp_obj_t self) { mp_obj_bound_meth_t *o = m_new_obj(mp_obj_bound_meth_t); - o->base.type = &bound_meth_type; + o->base.type = &mp_type_bound_meth; o->meth = meth; o->self = self; return o; |