aboutsummaryrefslogtreecommitdiff
path: root/py/objtype.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-05-25 17:08:09 +1000
committerDamien George <damien.p.george@gmail.com>2018-06-08 11:48:25 +1000
commitbace1a16d056cc755f12f525b9f2bfb3cb4b4b50 (patch)
tree93bce032a6ca5103d3ff8bfd82a026e6bb067811 /py/objtype.h
parentdb5d8c97f1ee74bbd0d5b86991c6de33d0f985b6 (diff)
py/objtype: Don't expose mp_obj_instance_attr().
mp_obj_is_instance_type() can be used instead to check for instance types.
Diffstat (limited to 'py/objtype.h')
-rw-r--r--py/objtype.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/objtype.h b/py/objtype.h
index 1f4313084..3fc8c6e1b 100644
--- a/py/objtype.h
+++ b/py/objtype.h
@@ -42,9 +42,6 @@ typedef struct _mp_obj_instance_t {
mp_obj_instance_t *mp_obj_new_instance(const mp_obj_type_t *cls, const mp_obj_type_t **native_base);
#endif
-// this needs to be exposed for MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE to work
-void mp_obj_instance_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest);
-
// these need to be exposed so mp_obj_is_callable can work correctly
bool mp_obj_instance_is_callable(mp_obj_t self_in);
mp_obj_t mp_obj_instance_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args);