aboutsummaryrefslogtreecommitdiff
path: root/src/bit.h
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-02-22 22:38:21 +0100
committerGitHub <noreply@github.com>2023-02-22 22:38:21 +0100
commitd422fc8274e757e95329e60b4e6daec59363ba19 (patch)
treeee038fd6f6dfd129998f711be31ab19a2c8f8b6a /src/bit.h
parent09b6a68c3700aa5d8ae26a62896b091572ae0a8d (diff)
parent799edca18a4ddcf8edcb63dd391219e01e187f0d (diff)
downloadrneovim-d422fc8274e757e95329e60b4e6daec59363ba19.tar.gz
rneovim-d422fc8274e757e95329e60b4e6daec59363ba19.tar.bz2
rneovim-d422fc8274e757e95329e60b4e6daec59363ba19.zip
Merge pull request #21222 from bfredl/bitband
feat(lua): make sure require'bit' always works, even on PUC LUA 5.1
Diffstat (limited to 'src/bit.h')
-rw-r--r--src/bit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bit.h b/src/bit.h
new file mode 100644
index 0000000000..7e54e6d519
--- /dev/null
+++ b/src/bit.h
@@ -0,0 +1,3 @@
+#include <lua.h>
+
+int luaopen_bit(lua_State *L);