LispBM
Macros | Typedefs
lbm_types.h File Reference
#include <stdint.h>
#include <stdbool.h>
#include <inttypes.h>
Include dependency graph for lbm_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LBM_STORABLE_ADDRESS_ALIGNMENT   4
 
#define LBM_UINT_MAX   UINT32_MAX
 
#define LBM_INT_MIN   INT32_MIN
 
#define LBM_INT_MAX   INT32_MAX
 
#define PRI_VALUE   PRIu32
 
#define PRI_TYPE   PRIu32
 
#define PRI_UINT   PRIu32
 
#define PRI_INT   PRId32
 
#define PRI_HEX   PRIx32
 
#define PRI_FLOAT   "f"
 

Typedefs

typedef uint32_t lbm_value
 
typedef uint32_t lbm_type
 
typedef uint32_t lbm_uint
 
typedef int32_t lbm_int
 
typedef float lbm_float
 
typedef double lbm_double
 
typedef int32_t lbm_cid
 

Macro Definition Documentation

◆ LBM_INT_MAX

#define LBM_INT_MAX   INT32_MAX

◆ LBM_INT_MIN

#define LBM_INT_MIN   INT32_MIN

◆ LBM_STORABLE_ADDRESS_ALIGNMENT

#define LBM_STORABLE_ADDRESS_ALIGNMENT   4

◆ LBM_UINT_MAX

#define LBM_UINT_MAX   UINT32_MAX

◆ PRI_FLOAT

#define PRI_FLOAT   "f"

◆ PRI_HEX

#define PRI_HEX   PRIx32

◆ PRI_INT

#define PRI_INT   PRId32

◆ PRI_TYPE

#define PRI_TYPE   PRIu32

◆ PRI_UINT

#define PRI_UINT   PRIu32

◆ PRI_VALUE

#define PRI_VALUE   PRIu32

Typedef Documentation

◆ lbm_cid

typedef int32_t lbm_cid

◆ lbm_double

typedef double lbm_double

◆ lbm_float

typedef float lbm_float

◆ lbm_int

typedef int32_t lbm_int

◆ lbm_type

typedef uint32_t lbm_type

A lispBM type.

◆ lbm_uint

typedef uint32_t lbm_uint

◆ lbm_value

typedef uint32_t lbm_value

A lispBM value. Can represent a character, 28 bit signed or unsigned integer. A value can also represent a pointer to a heap cell or to boxed 32 bit values such as a float.