aboutsummaryrefslogtreecommitdiff
path: root/onelua.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-07-29 14:35:04 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-07-29 14:35:04 -0300
commit8fddca81e7d4137512e92f398ca638d61b935dbd (patch)
treeaa778d040c923285979df29e7fb29763ff5c9e81 /onelua.c
parentc33bb08ffe04f24e09571b59eed3c9b59b622d91 (diff)
downloadlua-8fddca81e7d4137512e92f398ca638d61b935dbd.tar.gz
lua-8fddca81e7d4137512e92f398ca638d61b935dbd.tar.bz2
lua-8fddca81e7d4137512e92f398ca638d61b935dbd.zip
'onelua' can use the test library
Just add -DLUA_USER_H='"ltests.h"' when compiling it.
Diffstat (limited to 'onelua.c')
-rw-r--r--onelua.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/onelua.c b/onelua.c
index 2a434961..cc639494 100644
--- a/onelua.c
+++ b/onelua.c
@@ -110,6 +110,11 @@
110#include "linit.c" 110#include "linit.c"
111#endif 111#endif
112 112
113/* test library -- used only for internal development */
114#if defined(LUA_DEBUG)
115#include "ltests.c"
116#endif
117
113/* lua */ 118/* lua */
114#ifdef MAKE_LUA 119#ifdef MAKE_LUA
115#include "lua.c" 120#include "lua.c"