meta: add msvc support

since bluelib is already cross-platform, this is mostly just adding
__declspec(dllexport) to the library functions.
This commit is contained in:
2024-11-14 19:30:36 +00:00
parent 51d7fdfb39
commit 646a851a10
17 changed files with 68 additions and 9 deletions

View File

@@ -1,6 +1,8 @@
#ifndef IVY_COMMON_STATUS_H_
#define IVY_COMMON_STATUS_H_
#include <ivy/misc.h>
enum ivy_status {
IVY_OK = 0,
IVY_ERR_EOF = -1,
@@ -10,6 +12,6 @@ enum ivy_status {
IVY_ERR_NOT_SUPPORTED = -5,
};
extern const char *ivy_status_to_string(enum ivy_status status);
IVY_API const char *ivy_status_to_string(enum ivy_status status);
#endif