]> git.mdlowis.com Git - projs/alib.git/commitdiff
added type aliases for standard int types to remove the _t
authorMichael D. Lowis <mike@mdlowis.com>
Thu, 23 Feb 2017 20:47:37 +0000 (15:47 -0500)
committerMichael D. Lowis <mike@mdlowis.com>
Thu, 23 Feb 2017 20:47:37 +0000 (15:47 -0500)
source/stdc.h

index c01b700e09dfa809c27906b5fef86d06908bb5c7..3124f0be7ffae004cbb1d80d5647f69dad534449 100644 (file)
@@ -29,6 +29,19 @@ typedef signed char schar;
 typedef long long vlong;
 typedef unsigned long long uvlong;
 
+typedef uint8_t  uint8;
+typedef uint16_t uint16;
+typedef uint32_t uint32;
+typedef uint64_t uint64;
+
+typedef int8_t  int8;
+typedef int16_t int16;
+typedef int32_t int32;
+typedef int64_t int64;
+
+typedef uintptr_t uintptr;
+typedef intptr_t  intptr;
+
 /* Generic Death Function
  *****************************************************************************/
 static void die(const char* msgfmt, ...) {