#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include <stdarg.h>
#include <memory.h>
#include <limits.h>
#include <string.h>
#include "lexbor/core/def.h"
#include "lexbor/core/types.h"
#include "lexbor/core/lexbor.h"
Go to the source code of this file.
|
enum | lexbor_status_t {
LXB_STATUS_OK = 0x0000
, LXB_STATUS_ERROR = 0x0001
, LXB_STATUS_ERROR_MEMORY_ALLOCATION
, LXB_STATUS_ERROR_OBJECT_IS_NULL
,
LXB_STATUS_ERROR_SMALL_BUFFER
, LXB_STATUS_ERROR_INCOMPLETE_OBJECT
, LXB_STATUS_ERROR_NO_FREE_SLOT
, LXB_STATUS_ERROR_TOO_SMALL_SIZE
,
LXB_STATUS_ERROR_NOT_EXISTS
, LXB_STATUS_ERROR_WRONG_ARGS
, LXB_STATUS_ERROR_WRONG_STAGE
, LXB_STATUS_ERROR_UNEXPECTED_RESULT
,
LXB_STATUS_ERROR_UNEXPECTED_DATA
, LXB_STATUS_ERROR_OVERFLOW
, LXB_STATUS_CONTINUE
, LXB_STATUS_SMALL_BUFFER
,
LXB_STATUS_ABORTED
, LXB_STATUS_STOPPED
, LXB_STATUS_NEXT
, LXB_STATUS_STOP
,
LXB_STATUS_WARNING
} |
|
enum | lexbor_action_t { LEXBOR_ACTION_OK = 0x00
, LEXBOR_ACTION_STOP = 0x01
, LEXBOR_ACTION_NEXT = 0x02
} |
|
◆ lexbor_assert
◆ lexbor_max
#define lexbor_max |
( |
| val1, |
|
|
| val2 ) |
Value:((val1) > (val2) ? (val1) : (val2))
Definition at line 39 of file base.h.
◆ lexbor_min
#define lexbor_min |
( |
| val1, |
|
|
| val2 ) |
Value:((val1) < (val2) ? (val1) : (val2))
Definition at line 40 of file base.h.
◆ LEXBOR_VERSION_MAJOR
#define LEXBOR_VERSION_MAJOR 1 |
◆ LEXBOR_VERSION_MINOR
#define LEXBOR_VERSION_MINOR 7 |
◆ LEXBOR_VERSION_PATCH
#define LEXBOR_VERSION_PATCH 0 |
◆ LEXBOR_VERSION_STRING
Value:
#define LEXBOR_VERSION_MAJOR
#define LEXBOR_VERSION_MINOR
#define LEXBOR_VERSION_PATCH
#define LEXBOR_STRINGIZE(x)
Definition at line 33 of file base.h.
◆ lexbor_serialize_cb_cp_f
◆ lexbor_serialize_cb_f
◆ lexbor_action_t
Enumerator |
---|
LEXBOR_ACTION_OK | |
LEXBOR_ACTION_STOP | |
LEXBOR_ACTION_NEXT | |
Definition at line 73 of file base.h.
◆ lexbor_status_t
Enumerator |
---|
LXB_STATUS_OK | |
LXB_STATUS_ERROR | |
LXB_STATUS_ERROR_MEMORY_ALLOCATION | |
LXB_STATUS_ERROR_OBJECT_IS_NULL | |
LXB_STATUS_ERROR_SMALL_BUFFER | |
LXB_STATUS_ERROR_INCOMPLETE_OBJECT | |
LXB_STATUS_ERROR_NO_FREE_SLOT | |
LXB_STATUS_ERROR_TOO_SMALL_SIZE | |
LXB_STATUS_ERROR_NOT_EXISTS | |
LXB_STATUS_ERROR_WRONG_ARGS | |
LXB_STATUS_ERROR_WRONG_STAGE | |
LXB_STATUS_ERROR_UNEXPECTED_RESULT | |
LXB_STATUS_ERROR_UNEXPECTED_DATA | |
LXB_STATUS_ERROR_OVERFLOW | |
LXB_STATUS_CONTINUE | |
LXB_STATUS_SMALL_BUFFER | |
LXB_STATUS_ABORTED | |
LXB_STATUS_STOPPED | |
LXB_STATUS_NEXT | |
LXB_STATUS_STOP | |
LXB_STATUS_WARNING | |
Definition at line 48 of file base.h.