summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/luajit-3065c9/src/lj_udata.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/luajit-3065c9/src/lj_udata.h')
-rw-r--r--fluent-bit/lib/luajit-3065c9/src/lj_udata.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/fluent-bit/lib/luajit-3065c9/src/lj_udata.h b/fluent-bit/lib/luajit-3065c9/src/lj_udata.h
new file mode 100644
index 00000000..503c9e30
--- /dev/null
+++ b/fluent-bit/lib/luajit-3065c9/src/lj_udata.h
@@ -0,0 +1,17 @@
+/*
+** Userdata handling.
+** Copyright (C) 2005-2022 Mike Pall. See Copyright Notice in luajit.h
+*/
+
+#ifndef _LJ_UDATA_H
+#define _LJ_UDATA_H
+
+#include "lj_obj.h"
+
+LJ_FUNC GCudata *lj_udata_new(lua_State *L, MSize sz, GCtab *env);
+LJ_FUNC void LJ_FASTCALL lj_udata_free(global_State *g, GCudata *ud);
+#if LJ_64
+LJ_FUNC void * LJ_FASTCALL lj_lightud_intern(lua_State *L, void *p);
+#endif
+
+#endif