aboutsummaryrefslogtreecommitdiff
path: root/teensy
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-08-15 11:02:59 +1000
committerDamien George <damien.p.george@gmail.com>2016-08-15 11:02:59 +1000
commit675d1c9c600224820f49f912e4ff7d6cf2f97711 (patch)
tree6ee88932cfac9ba07782ad19ce173c7d829d5c42 /teensy
parent41fceae559ff2272a88441dbf531232f173ccbd6 (diff)
ports: Remove typedef of machine_ptr_t, it's no longer needed.
This type was used only for the typedef of mp_obj_t, which is now defined by the object representation. So we can now remove this unused typedef, to simplify the mpconfigport.h file.
Diffstat (limited to 'teensy')
-rw-r--r--teensy/mpconfigport.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/teensy/mpconfigport.h b/teensy/mpconfigport.h
index 05c040d41..334f76d8a 100644
--- a/teensy/mpconfigport.h
+++ b/teensy/mpconfigport.h
@@ -59,8 +59,6 @@ extern const struct _mp_obj_module_t time_module;
typedef int32_t mp_int_t; // must be pointer size
typedef unsigned int mp_uint_t; // must be pointer size
-typedef void *machine_ptr_t; // must be of pointer size
-typedef const void *machine_const_ptr_t; // must be of pointer size
typedef long mp_off_t;
#define MP_PLAT_PRINT_STRN(str, len) mp_hal_stdout_tx_strn_cooked(str, len)