aboutsummaryrefslogtreecommitdiff
path: root/src/lua/log.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2025-08-23 00:01:31 +0200
committerFederico Angelilli <code@fedang.net>2025-08-23 00:01:31 +0200
commita262dc8acd581052ee6b5d5430af69148540a843 (patch)
treec6eafa7d46f717fdf22eb5565d62e82d80de5fe1 /src/lua/log.h
parentefdf4a4883937c8a2fad278fbd4ffc207ef981dc (diff)
Move to luajit and fix logsrefactor
Diffstat (limited to 'src/lua/log.h')
-rw-r--r--src/lua/log.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lua/log.h b/src/lua/log.h
index 32c235b..a736355 100644
--- a/src/lua/log.h
+++ b/src/lua/log.h
@@ -2,12 +2,14 @@
#define COMET_LUA_LOG_H
#include "api.h"
-#include "../log.h"
+#include "../any_log.h"
// Print the first value on the stack
//
void lua_print_value(FILE *stream, lua_State *state);
+// Print the index-th value on the stack
+//
void lua_print_value_at(FILE *stream, lua_State *state, int index);
int lua_log_library(lua_State *state);