aboutsummaryrefslogtreecommitdiffstats
path: root/src/tuplr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tuplr.hpp')
-rw-r--r--src/tuplr.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tuplr.hpp b/src/tuplr.hpp
index 5b59c00..4302584 100644
--- a/src/tuplr.hpp
+++ b/src/tuplr.hpp
@@ -636,8 +636,10 @@ struct Engine {
virtual const string call(CEnv& cenv, CFunction f, AType* retT) = 0;
};
-Engine* tuplr_new_engine();
-void tuplr_free_engine(Engine* engine);
+extern "C" {
+ Engine* tuplr_new_engine();
+ void tuplr_free_engine(Engine* engine);
+}
/// Compile-Time Environment
struct CEnv {