summaryrefslogtreecommitdiff
path: root/intdefs.h
diff options
context:
space:
mode:
authorGravatar Matthew Wozniak <me@woz.blue> 2025-12-11 23:58:51 -0500
committerGravatar Matthew Wozniak <me@woz.blue> 2025-12-11 23:58:51 -0500
commit5356bc886d53291a9a812f2aba35e4e165d96fba (patch)
tree55fbe7e4f3cb54a5b8c43b40aba4771dc0465d8a /intdefs.h
downloadstm32_can_demo-5356bc886d53291a9a812f2aba35e4e165d96fba.tar.gz
stm32_can_demo-5356bc886d53291a9a812f2aba35e4e165d96fba.zip
initial commit
Diffstat (limited to 'intdefs.h')
-rw-r--r--intdefs.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/intdefs.h b/intdefs.h
new file mode 100644
index 0000000..97c6f82
--- /dev/null
+++ b/intdefs.h
@@ -0,0 +1,25 @@
+/* This file is dedicated to the public domain. */
+
+#ifndef INC_INTDEFS_H
+#define INC_INTDEFS_H
+
+typedef signed char schar;
+typedef unsigned char uchar;
+typedef unsigned short ushort;
+typedef unsigned int uint;
+typedef unsigned long ulong;
+typedef long long vlong;
+typedef unsigned long long uvlong;
+
+typedef schar s8;
+typedef uchar u8;
+typedef short s16;
+typedef ushort u16;
+typedef int s32;
+typedef uint u32;
+typedef vlong s64;
+typedef uvlong u64;
+
+#endif
+
+// vi: sw=4 ts=4 noet tw=80 cc=80