aboutsummaryrefslogtreecommitdiff
path: root/src/lua/log.h
blob: a73635500fa9391b04ad1cb9bbf9bb90a9d0b5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef COMET_LUA_LOG_H
#define COMET_LUA_LOG_H

#include "api.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);

#endif