diff options
author | Mattes D <github@xoft.cz> | 2014-08-26 14:23:21 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-26 14:23:21 +0200 |
commit | be32c0527cd6c69289217999927c3308d8169465 (patch) | |
tree | 2b106aeae7032205c8bc1abf06c9e7f646021af9 /src/Bindings/ManualBindings.h | |
parent | Type warning fixes. (diff) | |
parent | RankMgr: Exported the default-rank functions. (diff) | |
download | cuberite-be32c0527cd6c69289217999927c3308d8169465.tar cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.gz cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.bz2 cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.lz cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.xz cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.zst cuberite-be32c0527cd6c69289217999927c3308d8169465.zip |
Diffstat (limited to 'src/Bindings/ManualBindings.h')
-rw-r--r-- | src/Bindings/ManualBindings.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings.h b/src/Bindings/ManualBindings.h index 36161c6a2..1b6e65654 100644 --- a/src/Bindings/ManualBindings.h +++ b/src/Bindings/ManualBindings.h @@ -1,8 +1,24 @@ #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); }; + + + + |