And fix another bug that I just made

Accidentally removed a function from the main module declaration macro.
This commit is contained in:
jp9000 2014-04-05 01:47:08 -07:00
parent bd331c8ffe
commit ac43d9bb89

View File

@ -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);}
/**