summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-08 23:12:22 +0200
committermadmaxoft <github@xoft.cz>2014-08-08 23:12:22 +0200
commitf1dc299fdb6d2460437608ce79da4db9d0bde7f1 (patch)
tree1b758ee139c2a3f89b87838276cb833208dff112 /src/Bindings/ManualBindings.h
parentcLuaState: Added GetStackValues() auto-generated templates. (diff)
downloadcuberite-f1dc299fdb6d2460437608ce79da4db9d0bde7f1.tar
cuberite-f1dc299fdb6d2460437608ce79da4db9d0bde7f1.tar.gz
cuberite-f1dc299fdb6d2460437608ce79da4db9d0bde7f1.tar.bz2
cuberite-f1dc299fdb6d2460437608ce79da4db9d0bde7f1.tar.lz
cuberite-f1dc299fdb6d2460437608ce79da4db9d0bde7f1.tar.xz
cuberite-f1dc299fdb6d2460437608ce79da4db9d0bde7f1.tar.zst
cuberite-f1dc299fdb6d2460437608ce79da4db9d0bde7f1.zip
Diffstat (limited to 'src/Bindings/ManualBindings.h')
-rw-r--r--src/Bindings/ManualBindings.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.h b/src/Bindings/ManualBindings.h
index 36161c6a2..0302b9503 100644
--- a/src/Bindings/ManualBindings.h
+++ b/src/Bindings/ManualBindings.h
@@ -1,8 +1,25 @@
#pragma once
struct lua_State;
+
+
+
+
+
+
+/** Provides namespace for the bindings. */
class ManualBindings
{
public:
- static void Bind( lua_State* tolua_S);
+ /** Binds all the manually implemented functions to tolua_S. */
+ static void Bind(lua_State * tolua_S);
+
+protected:
+ /** Binds the manually implemented cRankManager glue code to tolua_S.
+ Implemented in ManualBindings_RankManager.cpp. */
+ static void BindRankManager(lua_State * tolua_S);
};
+
+
+
+