Change prefix for interfaces

gp_* -> i_*
go_* -> o_*
This commit is contained in:
8dcc
2023-07-20 20:25:49 +02:00
parent 6640f52047
commit 4db305daa2
4 changed files with 12 additions and 12 deletions

View File

@@ -10,17 +10,17 @@
* DECL_INTF_EXTERN: Extern version for the header.
*
* prefix | meaning
* -------+----------------
* gp_* | global pointer
* go_* | global original
* -------+-------------------------------
* i_* | interface ptr (global scope)
* o_* | original interface (not a ptr)
*/
#define DECL_INTF(type, name) \
type* gp_##name = NULL; \
type go_##name;
type* i_##name = NULL; \
type o_##name;
#define DECL_INTF_EXTERN(type, name) \
extern type* gp_##name; \
extern type go_##name;
extern type* i_##name; \
extern type o_##name;
/*----------------------------------------------------------------------------*/