Types declarations.
More...
#include <stddef.h>
#include <stdint.h>
#include <inttypes.h>
#include "fcml_lib_export.h"
Go to the source code of this file.
|
#define | FCML_TEXT(x) |
| Used to code literal strings.
|
|
#define | _FT(x) |
|
#define | FCML_INT64_MAX INT64_MAX |
|
#define | FCML_INT64_MIN INT64_MIN |
|
#define | FCML_INT32_MAX INT32_MAX |
|
#define | FCML_INT32_MIN INT32_MIN |
|
#define | FCML_INT16_MAX INT16_MAX |
|
#define | FCML_INT16_MIN INT16_MIN |
|
#define | FCML_INT8_MAX INT8_MAX |
|
#define | FCML_INT8_MIN INT8_MIN |
|
#define | FCML_UINT8_MAX UINT8_MAX |
|
#define | FCML_UINT16_MAX UINT16_MAX |
|
#define | FCML_UINT32_MAX UINT32_MAX |
|
#define | FCML_UINT64_MAX UINT64_MAX |
|
#define | fcml_string char* |
|
#define | FCML_TRUE 1 |
|
#define | FCML_FALSE 0 |
|
#define | FCML_TP_SET_BIT(x, y) |
|
#define | FCML_TP_GET_BIT(x, y) |
|
#define | FCML_TP_CLEAR_BIT(x, y) |
|
#define | FCML_SET_VALUE(x, y) |
|
#define | FCML_SET_NULL(x) |
|
#define | FCML_IS_NULL(x) |
|
|
typedef int | fcml_int |
|
typedef unsigned int | fcml_uint |
|
typedef int | fcml_bool |
|
typedef int8_t | fcml_int8_t |
|
typedef uint8_t | fcml_uint8_t |
|
typedef int16_t | fcml_int16_t |
|
typedef uint16_t | fcml_uint16_t |
|
typedef int32_t | fcml_int32_t |
|
typedef uint32_t | fcml_uint32_t |
|
typedef int64_t | fcml_int64_t |
|
typedef uint64_t | fcml_uint64_t |
|
typedef char | fcml_char |
|
typedef float | fcml_float |
|
typedef void * | fcml_ptr |
|
typedef fcml_uint32_t | fcml_flags |
|
typedef fcml_uint32_t | fcml_usize |
|
typedef fcml_int32_t | fcml_size |
|
typedef struct fcml_nuint8_t | fcml_nuint8_t |
|
typedef struct fcml_nuint16_t | fcml_nuint16_t |
|
typedef struct fcml_nuint32_t | fcml_nuint32_t |
|
typedef struct fcml_nuint64_t | fcml_nuint64_t |
|
typedef struct fcml_nint8_t | fcml_nint8_t |
|
typedef struct fcml_nint16_t | fcml_nint16_t |
|
typedef struct fcml_nint32_t | fcml_nint32_t |
|
typedef struct fcml_nint64_t | fcml_nint64_t |
|
typedef struct fcml_st_integer | fcml_st_integer |
|
Types declarations.
- Copyright
- Copyright (C) 2010-2020 Slawomir Wojtasiak. All rights reserved. This project is released under the GNU Lesser General Public License.
◆ _FT
Value:
#define FCML_TEXT(x)
Used to code literal strings.
Definition fcml_types.h:61
◆ FCML_IS_NULL
#define FCML_IS_NULL |
( |
| x | ) |
|
Value:((x).is_not_null == FCML_FALSE)
◆ FCML_SET_NULL
#define FCML_SET_NULL |
( |
| x | ) |
|
Value:x.value = 0; x.is_not_null = FCML_FALSE;
◆ FCML_SET_VALUE
#define FCML_SET_VALUE |
( |
| x, |
|
|
| y ) |
Value:x.value = y; x.is_not_null = FCML_TRUE;
◆ FCML_TEXT
Value:
Used to code literal strings.
It will be useful if FCML supports UNICODE in the future.
◆ FCML_TP_CLEAR_BIT
#define FCML_TP_CLEAR_BIT |
( |
| x, |
|
|
| y ) |
Value:( ( x ) &= ~( 1 << ( y ) ) )
◆ FCML_TP_GET_BIT
#define FCML_TP_GET_BIT |
( |
| x, |
|
|
| y ) |
◆ FCML_TP_SET_BIT
#define FCML_TP_SET_BIT |
( |
| x, |
|
|
| y ) |
Value:( ( x ) | ( 0x01 << ( y ) ) )