diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-12-02 11:19:03 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-12-02 11:19:03 -0300 |
commit | 04e495403ba66e88abfb5cc4cf1887f094eea57f (patch) | |
tree | 6054afd488012323412027fad6d8f5c74771e1c2 /ltests.h | |
parent | 62afbc6bfce222ebe745863131f952f6fce5eafb (diff) | |
download | lua-04e495403ba66e88abfb5cc4cf1887f094eea57f.tar.gz lua-04e495403ba66e88abfb5cc4cf1887f094eea57f.tar.bz2 lua-04e495403ba66e88abfb5cc4cf1887f094eea57f.zip |
New function 'lua_printvalue' for internal debugging
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -79,6 +79,13 @@ LUAI_FUNC int lua_checkmemory (lua_State *L); | |||
79 | struct GCObject; | 79 | struct GCObject; |
80 | LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o); | 80 | LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o); |
81 | 81 | ||
82 | |||
83 | /* | ||
84 | ** Function to print a value | ||
85 | */ | ||
86 | struct TValue; | ||
87 | LUAI_FUNC void lua_printvalue (struct TValue *v); | ||
88 | |||
82 | /* | 89 | /* |
83 | ** Function to print the stack | 90 | ** Function to print the stack |
84 | */ | 91 | */ |