Files
itgmania212121/stepmania/src/LuaHelpers.h
T

27 lines
647 B
C++
Raw Normal View History

2004-02-14 21:08:12 +00:00
#ifndef LUA_HELPERS_H
#define LUA_HELPERS_H
struct lua_State;
namespace Lua
{
bool RunExpression( const CString &str );
void Fail( lua_State *L, const CString &err );
/* Add all registered functions into L. */
void RegisterFunctions( lua_State *L );
void PushStack( lua_State *L, bool out );
void PushStack( lua_State *L, int out );
void PushStack( lua_State *L, void *out );
void PushStack( lua_State *L, const CString &out );
void PopStack( lua_State *L, CString &out );
2004-02-25 23:58:47 +00:00
bool GetStack( lua_State *L, int pos, int &out );
2004-02-14 21:08:12 +00:00
};
#endif
/*
* Copyright (c) 2004 by the person(s) listed below. All rights reserved.
* Glenn Maynard
*/