summaryrefslogtreecommitdiff
path: root/src/script/lnettlelib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/lnettlelib.h')
-rw-r--r--src/script/lnettlelib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/script/lnettlelib.h b/src/script/lnettlelib.h
new file mode 100644
index 0000000..c9609f9
--- /dev/null
+++ b/src/script/lnettlelib.h
@@ -0,0 +1,15 @@
+#ifndef lnettlelib_h
+#define lnettlelib_h
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define LUA_NETTLELIBNAME "nettle"
+LUAMOD_API int (luaopen_nettle) (lua_State *L);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* lnettlelib_h */