cross platform gui lib for lua
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
537 B

  1. /* luad.h
  2. *
  3. * some lua debugging helpers
  4. *
  5. * Gunnar Zötl <gz@tset.de>, 2017
  6. * Released under MIT/X11 license. See file LICENSE for details.
  7. */
  8. #ifndef luad_h
  9. #define luad_h
  10. #define LUAD_TOSTRING_BUFFERSIZE 256
  11. const char *luad_tostring(lua_State *L, int idx);
  12. void luad_print(lua_State *L, int idx);
  13. void luad_dump_stack(lua_State *L);
  14. void luad_dump_table(lua_State *L, int idx);
  15. void luad_dump_registry(lua_State *L);
  16. void luad_dump_uservalue(lua_State *L, int idx);
  17. void luad_dump_traceback(lua_State *L);
  18. #endif // luad_h