Contains a number of commonly used integer types which allows a degree of portability for any code which uses them.

Dependents:   GameduinoTest SimpleGameduinoTest RobotRic WiiClassicControllerTest ... more

This contains definitions for a number of commonly used integer types. The aim is to allow a degree of portability for any code which makes use of them. If the compiler is changed and the integer types on the new compiler differ from the old one then all that is required is a change to the Types.h file and all should be well. Anyway, that's the theory.

Files at this revision

API Documentation at this revision

Comitter:
RichardE
Date:
Thu Nov 15 21:17:18 2012 +0000
Commit message:
Definition of commonly used types.

Changed in this revision

Types.h Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 033e112463bb Types.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Types.h	Thu Nov 15 21:17:18 2012 +0000
@@ -0,0 +1,22 @@
+/*
+ * SOURCE FILE : Types.h
+ *
+ * Various types defined for portability.
+ *
+ */
+
+#ifndef TypesIncluded
+  
+  #define TypesIncluded
+
+  typedef unsigned char UInt8;
+  typedef signed char Int8;
+  typedef unsigned short UInt16;
+  typedef signed short Int16;
+  typedef unsigned long UInt32;
+  typedef signed long Int32;
+  
+#endif
+
+/* END of Types.h */
+