And fix another bug that I just made
Accidentally removed a function from the main module declaration macro.
This commit is contained in:
parent
bd331c8ffe
commit
ac43d9bb89
@ -25,8 +25,9 @@
|
||||
#define MODULE_EXPORT EXPORT
|
||||
#endif
|
||||
|
||||
#define OBS_SIZE_FUNC(structure, func) \
|
||||
MODULE_EXPORT size_t func(void); \
|
||||
#define OBS_SIZE_FUNC(structure, func) \
|
||||
MODULE_EXPORT size_t func(void); \
|
||||
uint32_t obs_module_ver(void) {return LIBOBS_API_VER;} \
|
||||
size_t func(void) {return sizeof(struct structure);}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user