Skip to content

Commit

Permalink
Fix 'print' function.
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz committed Dec 15, 2024
1 parent 7761371 commit ec5ed68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions radio/src/thirdparty/Lua/src/luaconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -458,4 +458,10 @@
#undef lua_str2number
#define lua_str2number(s,p) ((lua_Number)strtod((s), (p)))

// For print
#include "debug.h"
#define lua_writestring(s,l) TRACE_DEBUG_WP("%s", s);
#define lua_writeline() TRACE_DEBUG_WP("\n");
#define lua_writestringerror(s,p) TRACE_DEBUG_WP(s, p);

#endif

0 comments on commit ec5ed68

Please sign in to comment.