-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathgenCxxFilenames.h
More file actions
34 lines (28 loc) · 916 Bytes
/
genCxxFilenames.h
File metadata and controls
34 lines (28 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef GENCXXFILENAMES_H
#define GENCXXFILENAMES_H
/** \file genCxxFilenames.c
* functions shared by exp2cxx and the schema
* scanner which determines, at configuration time,
* the names of the files exp2cxx will generate -
* as well as a relative path, if any
*/
#include "express/entity.h"
#include "express/type.h"
typedef struct {
/* will we ever need more file names? */
const char * impl;
const char * header;
} filenames_t;
/** write entity filenames to a pair of shared static buffers.
* names will be overwritten by next call to a function using those buffers!
*
* \sa getTypeFilenames()
*/
filenames_t getEntityFilenames( Entity e );
/** write type filenames to a pair of shared static buffers.
* names will be overwritten by next call to a function using those buffers!
*
* \sa getEntityFilenames()
*/
filenames_t getTypeFilenames( Type t );
#endif /* GENCXXFILENAMES_H */