From e51221eaf9310f862bf65c9b311ac7c6b7537c18 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 29 Jul 2013 10:03:42 +0200 Subject: Fixed formatting in LuaScript.* --- source/LuaScript.h | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'source/LuaScript.h') diff --git a/source/LuaScript.h b/source/LuaScript.h index cf4806903..f98b2e65b 100644 --- a/source/LuaScript.h +++ b/source/LuaScript.h @@ -1,14 +1,31 @@ + +// LuaScript.h + +// Declares the cLuaScript class that loads a Lua script file to produce a web template out of it + + + + + #pragma once struct lua_State; + + + + struct sLuaUsertype { sLuaUsertype(void* a_pObject, const char* a_pClassName) : Object(a_pObject), ClassName(a_pClassName) {} // void* Object; - const char* ClassName; -}; + const char* ClassName; +} ; + + + + class cLuaScript { @@ -39,4 +56,8 @@ protected: bool LuaCallFunction(int a_NumArgs, int a_NumResults, const char * a_FunctionName ); // a_FunctionName is only used for error messages, nothing else private: lua_State* m_LuaState; -}; \ No newline at end of file +} ; + + + + -- cgit v1.2.3