diff options
| author | Federico Angelilli <code@fedang.net> | 2025-04-14 17:40:07 +0200 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2025-04-14 17:40:07 +0200 |
| commit | dc9e9c06421eb9156baf425ac14ec8f50cb8b5ae (patch) | |
| tree | 71aa14140797cfa28c0abaed724c79a989cb621e /src/lua/log.h | |
| parent | 9c9139d0eb4244c66123fdbfd211105ede8c4b42 (diff) | |
Update logging
Diffstat (limited to 'src/lua/log.h')
| -rw-r--r-- | src/lua/log.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lua/log.h b/src/lua/log.h new file mode 100644 index 0000000..32c235b --- /dev/null +++ b/src/lua/log.h @@ -0,0 +1,15 @@ +#ifndef COMET_LUA_LOG_H +#define COMET_LUA_LOG_H + +#include "api.h" +#include "../log.h" + +// Print the first value on the stack +// +void lua_print_value(FILE *stream, lua_State *state); + +void lua_print_value_at(FILE *stream, lua_State *state, int index); + +int lua_log_library(lua_State *state); + +#endif |
