view LuaVM.h @ 2196:628a0ad87136

Some more PVS error fixing
author Grumpy7
date Fri, 31 Jan 2014 00:37:26 +0100
parents 62a27b2cfcc2
children
line wrap: on
line source

#pragma once

class LuaVM
{
  public:
    inline LuaVM(): L(nullptr) {}

    void Initialize();
    bool DoFile(const char *filename);

  protected:
    struct lua_State *L;
    
    const char *GetScriptFileLocation(const char *script_name);
};
extern LuaVM *lua;