eĿlipsis
a language independent preprocessor
 
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
ellipsis-what.h
Go to the documentation of this file.
1
2#ifndef ELLIPSIS_WHAT_H
3#define ELLIPSIS_WHAT_H 1
4
17typedef unsigned char ellipsis‿token‿what‿base;
18
25# include <ctype.h>
26# include <stddef.h>
27
39
43[[__maybe_unused__]] extern char const*const*const ellipsis‿token‿what‿names;
44
47
57[[__maybe_unused__]]
58inline
59char const* ellipsis‿token‿what‿getname(size_t __LOC_ID_0_1) {
60 if (__LOC_ID_0_1 < 0 || __LOC_ID_0_1 > ellipsis‿token‿what‿max_intern) return "<unknown " "ellipsis∷token∷what" ">";
61 else return ellipsis‿token‿what‿names[__LOC_ID_0_1];
62}
63
65
66 "ellipsis∷token∷what∷else",
67 "ellipsis∷token∷what∷callback",
68 "ellipsis∷token∷what∷binary"
69};
70
71#endif
static char const *const ellipsis‿token‿what‿namesbuf_intern[ellipsis‿token‿what‿max_intern]
Definition ellipsis-what.h:64
char const * ellipsis‿token‿what‿getname(size_t __LOC_ID_0_1)
Return the name of the enumeration constant of type ellipsis‿token‿what at position n,...
Definition ellipsis-what.h:59
ellipsis‿token‿what
An enumeration type ellipsis‿token‿what with the underlying integer type ellipsis‿token‿what‿base.
Definition ellipsis-what.h:32
@ ellipsis‿token‿what‿else
Definition ellipsis-what.h:34
@ ellipsis‿token‿what‿binary
Definition ellipsis-what.h:36
@ ellipsis‿token‿what‿callback
Definition ellipsis-what.h:35
char const *const *const ellipsis‿token‿what‿names
An array with the names of the constants of type ellipsis‿token‿what.
Definition ellipsis-what.c:59
@ ellipsis‿token‿what‿max_intern
Definition ellipsis-what.h:46
unsigned char ellipsis‿token‿what‿base
Definition ellipsis-what.h:17