Mon 16 Mar 11:09:06 CET 2026
This commit is contained in:
parent
62fcfd66be
commit
6279af71fb
24
src/types.h
Normal file
24
src/types.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#ifndef _TYPES_H
|
||||
#define _TYPES_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifndef HAS_TYPES
|
||||
typedef unsigned char int8_t;
|
||||
typedef unsigned short int16_t;
|
||||
typedef unsigned int int32_t;
|
||||
#endif
|
||||
|
||||
typedef int8_t token_t;
|
||||
typedef NUMBER_T number_t;
|
||||
typedef int16_t index_t;
|
||||
typedef int16_t address_t;
|
||||
typedef int16_t vm_state_t;
|
||||
|
||||
|
||||
#define token_s sizeof(token_t)
|
||||
#define number_s sizeof(number_t)
|
||||
#define index_s sizeof(index_t)
|
||||
#define address_s sizeof(address_t)
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user