eĿlipsis
a language independent preprocessor
 
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
ellipsis-infra.h
Go to the documentation of this file.
1
7#ifndef ELLIPSIS_INFRA_H
8#define ELLIPSIS_INFRA_H 1
9
13#include "utils/ellipsis-str8.h"
14
15size_t ellipsis‿infra‿line(void);
17size_t ellipsis‿infra‿fileno(void);
18char const* ellipsis‿infra‿dir(void);
19char const* ellipsis‿infra‿file(size_t);
20
21/*
22 ** @brief Recurse into scanning a new include file.
23 **
24 ** The pointed-to second argument is morally `const`, it will never
25 ** be changed. gcc static analyzer then supposes that the object
26 ** cannot be freed by this function, which is just a misconception.
27 */
28#if __has_c_attribute(__gnu__‿__access__)
29GNU_ATTR_ACCESS(__read_only__, 2)
30size_t ellipsis‿infra‿up(char const[static 1], char*);
31#else
32size_t ellipsis‿infra‿up(char const[static 1], char const*);
33#endif
34size_t ellipsis‿infra‿subscribe(char const[static 1], ellipsis‿str8 const* data);
35
36size_t ellipsis‿infra‿find(ellipsis‿str32[static 1], ellipsis‿str8 const* data);
39
40extern _Thread_local size_t ellipsis‿infra‿filter_line;
41extern _Thread_local size_t ellipsis‿infra‿filter_file;
42extern _Thread_local size_t ellipsis‿infra‿filter_lineno;
43extern _Thread_local char const* ellipsis‿infra‿directory;
45
46#endif
#define GNU_ATTR_ACCESS(...)
Definition ellipsis-error.h:49
size_t ellipsis‿infra‿line(void)
Definition ellipsis-infra.c:143
size_t ellipsis‿infra‿find(ellipsis‿str32[static 1], ellipsis‿str8 const *data)
Definition ellipsis-infra.c:217
char const * ellipsis‿infra‿dir(void)
Definition ellipsis-infra.c:187
_Thread_local size_t ellipsis‿infra‿filter_line
Definition ellipsis-infra.c:340
ellipsis‿carray * ellipsis‿infra‿dependencies
Definition ellipsis-infra.c:87
size_t ellipsis‿infra‿subscribe(char const[static 1], ellipsis‿str8 const *data)
Definition ellipsis-infra.c:299
_Thread_local char const * ellipsis‿infra‿directory
_Thread_local size_t ellipsis‿infra‿filter_lineno
Definition ellipsis-infra.c:341
size_t ellipsis‿infra‿up(char const[static 1], char const *)
Definition ellipsis-infra.c:310
_Thread_local size_t ellipsis‿infra‿filter_file
Definition ellipsis-infra.c:342
void ellipsis‿infra‿down(void)
Definition ellipsis-infra.c:327
char const * ellipsis‿infra‿file(size_t)
Definition ellipsis-infra.c:202
void ellipsis‿infra‿newline(void)
Definition ellipsis-infra.c:158
ellipsis‿str8 const * ellipsis‿infra‿data(ellipsis‿str32 n32[static 1])
Definition ellipsis-infra.c:285
size_t ellipsis‿infra‿fileno(void)
Definition ellipsis-infra.c:172
A structure with a flexible array member of base type ellipsis‿carray‿base.
Definition ellipsis-carray.h:182
A structure with a flexible array member of base type ellipsis‿str32‿base.
Definition ellipsis-str32.h:156
A structure with a flexible array member of base type ellipsis‿str8‿base.
Definition ellipsis-str8.h:150