eĿlipsis
a language independent preprocessor
 
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
ellipsis-macros.h
Go to the documentation of this file.
1
8#ifndef ELLIPSIS_MACROS_H
9#define ELLIPSIS_MACROS_H 1
10
13
16
19
22
25
27
28#define ellipsis_macros_mangle(TK) \
29({\
30 ellipsis‿token* _token = ellipsis‿macros‿mangle(TK); \
31 if (!_token) {\
32 ELLIPSIS_ERROR("%s:%lld: unable to mangle token", __FILE__, (long long)__LINE__); \
33 } \
34 _token; \
35 })
36
37static inline
38bool is_variable(size_t count) {
39 return count > 0x100;
40}
41
42void functions_insert(char const* name, ellipsis‿token* (*cb)(ellipsis‿token*));
43
45
47
49
54
55#endif
ellipsis‿token * ellipsis‿macros‿mangle(ellipsis‿token *tk)
Definition ellipsis-macros.c:1185
void ellipsis‿macros‿unfreeze(void)
Definition ellipsis-macros.c:1563
void ellipsis‿macros‿activate(ellipsis‿str32 *n)
Definition ellipsis-macros.c:1549
void ellipsis‿macros‿paren‿dec(void)
Definition ellipsis-macros.c:146
void ellipsis‿macros‿paren‿set(size_t)
Definition ellipsis-macros.c:137
void ellipsis‿macros‿insert(ellipsis‿token *t)
Definition ellipsis-macros.c:1483
void ellipsis‿macros‿paren‿inc(void)
Definition ellipsis-macros.c:141
ellipsis‿token * ellipsis‿macros‿find(ellipsis‿str32 const *n)
Definition ellipsis-macros.c:1451
void functions_insert(char const *name, ellipsis‿token *(*cb)(ellipsis‿token *))
Definition ellipsis-macros.c:1092
void ellipsis‿macros‿freeze(void)
void ellipsis‿macros‿deactivate(ellipsis‿str32 *n)
Definition ellipsis-macros.c:1534
void ellipsis‿macros‿repair(ellipsis‿str32 name[static 1])
Definition ellipsis-macros.c:650
ellipsis‿token‿list * ellipsis‿macros‿unbind_set(ellipsis‿token‿list *)
Definition ellipsis-macros.c:162
void ellipsis‿macros‿remove(ellipsis‿str32 const *n)
Definition ellipsis-macros.c:1515
size_t ellipsis‿macros‿paren‿get(void)
ellipsis‿token‿list * ellipsis‿macros‿unbind_get(void)
Definition ellipsis-macros.c:158
static bool is_variable(size_t count)
Definition ellipsis-macros.h:38
ellipsis‿token * ellipsis‿macros‿functions_find(ellipsis‿str32 const *n)
Definition ellipsis-macros.c:1466
A structure with a flexible array member of base type ellipsis‿str32‿base.
Definition ellipsis-str32.h:156
A token element as recognized during processing.
Definition ellipsis-token.h:94
a token list
Definition ellipsis-tlist.h:84