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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user