summaryrefslogtreecommitdiffstatshomepage
path: root/py/machine.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-04 19:53:11 +0100
committerDamien <damien.p.george@gmail.com>2013-10-04 19:53:11 +0100
commit429d71943d6b94c7dc3c40a39ff1a09742c77dc2 (patch)
treeb0fd643076254656c358806d7e47c18f796a54f3 /py/machine.h
downloadmicropython-429d71943d6b94c7dc3c40a39ff1a09742c77dc2.tar.gz
micropython-429d71943d6b94c7dc3c40a39ff1a09742c77dc2.zip
Initial commit.
Diffstat (limited to 'py/machine.h')
-rw-r--r--py/machine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/machine.h b/py/machine.h
new file mode 100644
index 0000000000..fa39c8f2d0
--- /dev/null
+++ b/py/machine.h
@@ -0,0 +1,4 @@
+typedef int64_t machine_int_t; // must be pointer size
+typedef uint64_t machine_uint_t; // must be pointer size
+typedef void *machine_ptr_t; // must be of pointer size
+typedef double machine_float_t;