text: /* types.h
   *
   * Copyright (C) 2015 Nur Hussein
   *
   * Basic data types.
   * -------------------------------------------------------------------------
   *
   * Typedefs to define basic data types.
   *
   */
  
  #ifndef __TREEHOUSE_TYPES_H
  #define __TREEHOUSE_TYPES_H
  
  #define NULL    ((void*) 0)
  
  #ifdef __USE_CUSTOM_TYPES
  typedef unsigned long long uint64_t;
  typedef signed long long int64_t;
   
  typedef unsigned int uint32_t;
  typedef signed int int32_t;
   
  typedef unsigned short uint16_t;
  typedef signed short int16_t;
   
  typedef unsigned char uint8_t;
  typedef signed char int8_t;
   
  #else
  #include <stdint.h>
  #endif /* __USE_CUSTOM_TYPES */
  
  typedef uint32_t size_t;
  
  #endif /* __TREEHOUSE_TYPES_H */
  