summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-23 21:12:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-24 18:14:46 (GMT)
commit442420335b9533b2a43c6e3f09758a94af045a84 (patch)
tree3fa350e115340f7db4dfbf1a4aa5845bf4a724c5 /Sluift/sluift.h
parentf0142e0ea71a1f89b8c46ab6bde7e188c0bc79f4 (diff)
downloadswift-442420335b9533b2a43c6e3f09758a94af045a84.zip
swift-442420335b9533b2a43c6e3f09758a94af045a84.tar.bz2
Added initial version of Sluift.
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);