repo.or.cz
/
blua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
use lua_mem(L, +-size) to track your additional userdata sizes. keep it balanced...
[blua.git]
/
test
/
printf.lua
blob
58c63ff5184e4f4274f9e0408a2959526c365ac0
1
-- an implementation of printf
2
3
function
printf
(...)
4
io
.
write
(
string
.
format
(...))
5
end
6
7
printf
(
"Hello %s from %s on %s
\n
"
,
os
.
getenv
"USER"
or
"there"
,
_VERSION
,
os
.
date
())