This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wrt/utils/defs.h

19 lines
317 B
C
Raw Normal View History

2023-02-06 21:03:06 +08:00
#ifndef WRT_DEFS_H
#define WRT_DEFS_H
typedef enum {
WRT_OK = 0,
WRT_ERROR = -1,
} Status;
typedef void *(*Allocator)(unsigned long);
typedef void (*DeAllocator)(void *);
2023-02-07 23:19:28 +08:00
typedef char *_va_list;
#define DL_MAX_HANDLES 8
#define DL_MAX_SYMBOLS 16
#define DL_SYM_TABLE_SIZE 5
2023-02-06 21:03:06 +08:00
#endif // WRT_DEFS_H