Haka
utils.h
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 
5 #ifndef LUADEBUG_UTILS_H
6 #define LUADEBUG_UTILS_H
7 
8 #include <haka/colors.h>
9 
10 struct lua_State;
11 struct luadebug_user;
12 
13 void pprint(struct lua_State *L, struct luadebug_user *user, int index, bool full, const char *hide);
14 int execute_print(struct lua_State *L, struct luadebug_user *user, bool full, const char *hide);
15 int capture_env(struct lua_State *L, int frame);
16 
17 #endif /* LUADEBUG_UTILS_H */