summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 698d264d2..0045fa198 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -145,6 +145,13 @@
#define MICROPY_OBJ_IMMEDIATE_OBJS (MICROPY_OBJ_REPR != MICROPY_OBJ_REPR_D)
#endif
+#define MICROPY_OBJ_TYPE_REPR_FULL (0)
+#define MICROPY_OBJ_TYPE_REPR_SLOT_INDEX (1)
+
+#ifndef MICROPY_OBJ_TYPE_REPR
+#define MICROPY_OBJ_TYPE_REPR (MICROPY_OBJ_TYPE_REPR_FULL)
+#endif
+
/*****************************************************************************/
/* Memory allocation policy */