Skip to content

Commit ee96eed

Browse files
committed
Export WinSecRuntime symbols in core definitions
1 parent a06721e commit ee96eed

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/core.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@
66

77
namespace WinSecRuntime {
88

9-
bool Initialize(Mode mode, const secure::runtime::Config& cfg) {
9+
WINSECRUNTIME_API bool Initialize(Mode mode, const secure::runtime::Config& cfg) {
1010
(void)mode;
1111
(void)cfg;
1212
return true;
1313
}
1414

15-
void StartIntegrityEngine(const Policy& p) {
15+
WINSECRUNTIME_API void StartIntegrityEngine(const Policy& p) {
1616
#if SECURE_ENABLE_HEARTBEAT
1717
static secure::runtime::Heartbeat hb(5000, nullptr, p.cfg);
1818
(void)hb;
1919
#endif
2020
}
2121

22-
secure::Report RunAll(const Policy& p) {
22+
WINSECRUNTIME_API secure::Report RunAll(const Policy& p) {
2323
return secure::runtime::run_all_checks(p.cfg);
2424
}
2525

26-
void EnableAntiDebug(const Policy& p) {
26+
WINSECRUNTIME_API void EnableAntiDebug(const Policy& p) {
2727
(void)RunAll(p);
2828
}
2929

30-
void EnableHookGuard(const Policy& p) {
30+
WINSECRUNTIME_API void EnableHookGuard(const Policy& p) {
3131
(void)RunAll(p);
3232
}
3333

0 commit comments

Comments
 (0)