aboutsummaryrefslogtreecommitdiff
path: root/iDSK/src/MyType.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2025-02-01 08:50:40 +0000
committerJuan J. Martinez <jjm@usebox.net>2025-02-01 08:50:40 +0000
commit6cb4b6673e8e5aa5c0101e179cc7afcdcf07236c (patch)
tree9e304cb4abbbedc0dcb323d8fd95bf1b192b691b /iDSK/src/MyType.h
downloadpc-cpc-basic-6cb4b6673e8e5aa5c0101e179cc7afcdcf07236c.tar.gz
pc-cpc-basic-6cb4b6673e8e5aa5c0101e179cc7afcdcf07236c.zip
Initial import
Diffstat (limited to 'iDSK/src/MyType.h')
-rw-r--r--iDSK/src/MyType.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/iDSK/src/MyType.h b/iDSK/src/MyType.h
new file mode 100644
index 0000000..0112428
--- /dev/null
+++ b/iDSK/src/MyType.h
@@ -0,0 +1,20 @@
+#ifndef MYTYPE_H_
+#define MYTYPE_H_
+
+/* types definitions to be coherent with Visual Basic C++ types */
+
+typedef unsigned char BYTE; /* unsigned 8-bit type */
+typedef unsigned short WORD; /* unsigned 16-bit type */
+typedef unsigned long DWORD; /* unsigned 32-bit type */
+
+
+/* constant defintion usefull in the code */
+
+#define TRUE 1
+#define FALSE 0
+#define MODE_ASCII 0
+#define MODE_BINAIRE 1
+#define MODE_RAW 2
+
+
+#endif /*MYTYPE_H_*/