'onelua' can use the test library

Just add -DLUA_USER_H='"ltests.h"' when compiling it.
This commit is contained in:
Roberto Ierusalimschy
2025-07-29 14:35:04 -03:00
parent c33bb08ffe
commit 8fddca81e7
4 changed files with 34 additions and 13 deletions

View File

@@ -110,6 +110,11 @@
#include "linit.c"
#endif
/* test library -- used only for internal development */
#if defined(LUA_DEBUG)
#include "ltests.c"
#endif
/* lua */
#ifdef MAKE_LUA
#include "lua.c"