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

@@ -2,6 +2,7 @@
#define IVY_COMMON_FILE_H_
#include <ivy/line-source.h>
#include <ivy/misc.h>
#include <stdio.h>
struct ivy_file {
@@ -9,7 +10,7 @@ struct ivy_file {
FILE *f_fp;
};
extern struct ivy_file *ivy_file_from_fp(FILE *fp);
extern void ivy_file_close(struct ivy_file *file);
IVY_API struct ivy_file *ivy_file_from_fp(FILE *fp);
IVY_API void ivy_file_close(struct ivy_file *file);
#endif