libtonc

Modules

 Secondary types
 

Data Structures

struct  BLOCK
 8-word type for fast struct-copies More...
 

Base types

Basic signed and unsigned types for 8, 16, 32 and 64-bit integers.

  • s# : signed #-bit integer.
  • u#/u{type} : unsigned #-bit integer.
  • e{type} : enum'ed #-bit integer.

typedef unsigned int uint
 
typedef unsigned int eint
 
typedef unsigned short ushort
 
typedef unsigned short eshort
 
typedef uint8_t u8
 
typedef uint8_t byte
 
typedef uint8_t uchar
 
typedef uint8_t echar
 
typedef uint16_t u16
 
typedef uint16_t hword
 
typedef uint32_t u32
 
typedef uint32_t word
 
typedef uint64_t u64
 
typedef int8_t s8
 
typedef int16_t s16
 
typedef int32_t s32
 
typedef int64_t s64
 

Volatile types

Volatile types for registers

typedef volatile u8 vu8
 
typedef volatile u16 vu16
 
typedef volatile u32 vu32
 
typedef volatile u64 vu64
 
typedef volatile s8 vs8
 
typedef volatile s16 vs16
 
typedef volatile s32 vs32
 
typedef volatile s64 vs64
 

Const types

Const types for const function aprameters

typedef const u8 cu8
 Type for consting a string as well as the pointer than points to it.
 
typedef const u16 cu16
 Type for consting a string as well as the pointer than points to it.
 
typedef const u32 cu32
 Type for consting a string as well as the pointer than points to it.
 
typedef const u64 cu64
 Type for consting a string as well as the pointer than points to it.
 
typedef const s8 cs8
 Type for consting a string as well as the pointer than points to it.
 
typedef const s16 cs16
 Type for consting a string as well as the pointer than points to it.
 
typedef const s32 cs32
 Type for consting a string as well as the pointer than points to it.
 
typedef const s64 cs64
 Type for consting a string as well as the pointer than points to it.
 
typedef const char *const CSTR
 Type for consting a string as well as the pointer than points to it.
 

Detailed Description