aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/base64.h
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2023-10-31 09:15:32 -0500
committerGitHub <noreply@github.com>2023-10-31 09:15:32 -0500
commit224f303ee54c54d2147f03010385e8cc48e42869 (patch)
treeb64c86baed2c7d4ea652eee233674188044e2da6 /src/nvim/lua/base64.h
parentadbe7f368397da21465f27181e254dd3694820e9 (diff)
downloadrneovim-224f303ee54c54d2147f03010385e8cc48e42869.tar.gz
rneovim-224f303ee54c54d2147f03010385e8cc48e42869.tar.bz2
rneovim-224f303ee54c54d2147f03010385e8cc48e42869.zip
feat(stdlib): add vim.base64 module (#25843)
Add base64 encode() and decode() functions to a vim.base64 module.
Diffstat (limited to 'src/nvim/lua/base64.h')
-rw-r--r--src/nvim/lua/base64.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/lua/base64.h b/src/nvim/lua/base64.h
new file mode 100644
index 0000000000..570d9eb677
--- /dev/null
+++ b/src/nvim/lua/base64.h
@@ -0,0 +1,12 @@
+#ifndef NVIM_LUA_BASE64_H
+#define NVIM_LUA_BASE64_H
+
+#include <lauxlib.h>
+#include <lua.h>
+#include <lualib.h>
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "lua/base64.h.generated.h"
+#endif
+
+#endif // NVIM_LUA_BASE64_H