aboutsummaryrefslogtreecommitdiff
path: root/src/lua/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/log.h')
-rw-r--r--src/lua/log.h15
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