repo.or.cz
/
tagua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Compile with kdelibs trunk.
[tagua.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