summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift/sluift.h')
-rw-r--r--Sluift/sluift.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Sluift/sluift.h b/Sluift/sluift.h
new file mode 100644
index 0000000..f28862e
--- /dev/null
+++ b/Sluift/sluift.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2011 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#if defined(SLUIFT_BUILD_DLL)
+#define SLUIFT_API __declspec(dllexport)
+#else
+#define SLUIFT_API extern
+#endif
+
+#include "lua.h"
+
+SLUIFT_API int (luaopen_sluift)(lua_State *L);