php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 Alexander Borisov
3 *
4 * Author: Alexander Borisov <borisov@lexbor.com>
5 */
6
7#ifndef LEXBOR_TYPES_H
8#define LEXBOR_TYPES_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include <stdint.h>
15#include <stdbool.h>
16
17/* Inline */
18#ifdef _MSC_VER
19 #define lxb_inline static __forceinline
20#else
21 #define lxb_inline static inline
22#endif
23
24
25/* Simple types */
26typedef uint32_t lxb_codepoint_t;
27typedef unsigned char lxb_char_t;
28typedef unsigned int lxb_status_t;
29
30/* Callbacks */
32 size_t size, void *ctx);
33
34
35#ifdef __cplusplus
36} /* extern "C" */
37#endif
38
39#endif /* LEXBOR_TYPES_H */
new_type size
Definition ffi.c:4365
Definition file.h:177
unsigned int lxb_status_t
Definition types.h:28
unsigned char lxb_char_t
Definition types.h:27
lxb_status_t(* lexbor_callback_f)(const lxb_char_t *buffer, size_t size, void *ctx)
Definition types.h:31
uint32_t lxb_codepoint_t
Definition types.h:26