summaryrefslogtreecommitdiff
path: root/libs/luajit-cmake/luajit/src/lj_udata.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/luajit-cmake/luajit/src/lj_udata.h')
-rw-r--r--libs/luajit-cmake/luajit/src/lj_udata.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/luajit-cmake/luajit/src/lj_udata.h b/libs/luajit-cmake/luajit/src/lj_udata.h
new file mode 100644
index 0000000..503c9e3
--- /dev/null
+++ b/libs/luajit-cmake/luajit/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