html; charset=UTF-8 Last-Modified: Mon, 02 Nov 2026 18:49:09 GMT Expires: Thu, 30 Oct 2036 18:49:09 GMT Fix segfault in player migration and crash in log_deprecated - minetest.git - modified minetest for gpcfs purposes
aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2018-05-14 21:03:48 +0200
committerSmallJoker <mk939@ymail.com>2018-05-14 21:19:52 +0200
commita1598e1b83e28503745165d5749cd21b77e97818 (patch)
tree3f5388c0f8d18fb2d35c345f53014e7cd234ecb8 /.gitattributes
parenta01a9ca24cf74434d3d9d558d50e24d7de514e03 (diff)
Fix segfault in player migration and crash in log_deprecated
Makes log_deprecated work when triggered from no function
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions
om">This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef L_NODETIMER_H_ #define L_NODETIMER_H_ #include "lua_api/l_base.h" #include "irr_v3d.h" class ServerEnvironment; class NodeTimerRef : public ModApiBase { private: v3s16 m_p; ServerEnvironment *m_env; static const char className[]; static const luaL_reg methods[]; static int gc_object(lua_State *L); static NodeTimerRef *checkobject(lua_State *L, int narg); static int l_set(lua_State *L); static int l_start(lua_State *L); static int l_stop(lua_State *L); static int l_is_started(lua_State *L); static int l_get_timeout(lua_State *L); static int l_get_elapsed(lua_State *L); public: NodeTimerRef(v3s16 p, ServerEnvironment *env); ~NodeTimerRef(); // Creates an NodeTimerRef and leaves it on top of stack // Not callable from Lua; all references are created on the C side. static void create(lua_State *L, v3s16 p, ServerEnvironment *env); static void set_null(lua_State *L); static void Register(lua_State *L); }; #endif /* L_NODETIMER_H_ */