summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax_cfunctions.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-16 19:29:23 +0800
committerchai <chaifix@163.com>2019-03-16 19:29:23 +0800
commitd29f5f4aebd90b1e256967801b28a5990249b2e7 (patch)
treef4f1390b57a39e0493e0f74b40dd3996d88d04e5 /Source/3rdParty/Luax/luax_cfunctions.h
parent1ab2501db0f9e14f138292880e37120e7a6184de (diff)
*luax
Diffstat (limited to 'Source/3rdParty/Luax/luax_cfunctions.h')
-rw-r--r--Source/3rdParty/Luax/luax_cfunctions.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/3rdParty/Luax/luax_cfunctions.h b/Source/3rdParty/Luax/luax_cfunctions.h
new file mode 100644
index 0000000..2570bb9
--- /dev/null
+++ b/Source/3rdParty/Luax/luax_cfunctions.h
@@ -0,0 +1,25 @@
+#ifndef __LUAX_CFUNCTIONS_H__
+#define __LUAX_CFUNCTIONS_H__
+
+#include "luax_config.h"
+
+/**
+ * luax_cfunctionĺעluaһЩ⹦ܵͨú
+*/
+
+namespace Luax
+{
+
+ ///
+ /// õһupvalue
+ ///
+ extern int luax_c_getupvalue(lua_State* L);
+
+ ///
+ /// ô˺ʱᱨupvalue(1)ǴϢ
+ ///
+ extern int luax_c_errfunc(lua_State* L);
+
+}
+
+#endif \ No newline at end of file