repo.or.cz
/
exterlulz-musk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix timer thing, still *broken*
[exterlulz-musk.git]
/
src
/
musk
/
lua_vm.h
blob
e15972f26015a0dd7f727a1fb64bf2ecd939617b
1
#ifndef MUSK_LUA_VM_H_
2
#define MUSK_LUA_VM_H_
3
4
struct
lua_State
;
5
6
#include <string>
7
8
namespace
musk
{
9
10
class
LuaVM
11
{
12
public
:
13
LuaVM
();
14
~
LuaVM
();
15
16
void
doFile
(
const
std
::
string
&
filename
);
17
18
int
globalIntegerInTable
(
const
std
::
string
&
table
,
const
std
::
string
&
variable
)
const
;
19
void
callFunction
(
const
std
::
string
&
f
);
20
21
private
:
22
lua_State
*
L_
;
23
};
24
25
}
// namespace musk
26
27
#endif
// MUSK_LUA_VM_H_