repo.or.cz
/
tagua
/
yd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
push(c) 396e1e1cf5af4c5433b28ed0af7a7fa4394c1005
[tagua/yd.git]
/
tests
/
test_lua.cpp
blob
37fd9ad3c668827cb4ed097d625f8f4c5d20e17e
1
#include
"../src/luaconfig.h"
2
3
using namespace
LuaLoader
;
4
5
int
main
(
int
argc
,
char
**
argv
) {
6
const char
*
file
;
7
if
(
argc
>
1
)
8
file
=
argv
[
1
];
9
else
10
file
=
"test.lua"
;
11
12
Api api
;
13
api
.
runFile
(
file
);
14
15
return
0
;
16
}
17