repo.or.cz
/
Projeto-PCG.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git@github.com:andreferreira/Projeto-PCG
[Projeto-PCG.git]
/
luaenv.h
blob
81d69502c039d1e727bed25ecb8674242d4fb4d9
1
#ifndef SCRIPTLOADER_H
2
#define SCRIPTLOADER_H
3
4
extern
"C"
{
5
#include
"lua/lua.h"
6
#include
"lua/lauxlib.h"
7
#include
"lua/lualib.h"
8
}
9
10
#include <string>
11
#include <vector>
12
13
lua_State
*
newState
();
14
void
doLuaFile
(
lua_State
*
l
,
std
::
string file
);
15
void
registerFunction
(
lua_State
*
l
,
std
::
string name
,
lua_CFunction function
);
16
17
#endif