hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
whereami.h
Go to the documentation of this file.
1
2#ifndef WHEREAMI_H
3#define WHEREAMI_H
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9#ifndef WAI_FUNCSPEC
10#define WAI_FUNCSPEC
11#endif
12#ifndef WAI_PREFIX
13#define WAI_PREFIX(function) wai_##function
14#endif
15
36int WAI_PREFIX(getExecutablePath)(char *out, int capacity, int *dirname_length);
37
57int WAI_PREFIX(getModulePath)(char *out, int capacity, int *dirname_length);
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif // #ifndef WHEREAMI_H
WAI_FUNCSPEC int WAI_PREFIX() getExecutablePath(char *out, int capacity, int *dirname_length)
WAI_FUNCSPEC int WAI_PREFIX() getModulePath(char *out, int capacity, int *dirname_length)
#define WAI_PREFIX(function)
Definition whereami.h:13
#define WAI_FUNCSPEC
Definition whereami.h:10