aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-12-02 11:19:03 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-12-02 11:19:03 -0300
commit04e495403ba66e88abfb5cc4cf1887f094eea57f (patch)
tree6054afd488012323412027fad6d8f5c74771e1c2 /ltests.h
parent62afbc6bfce222ebe745863131f952f6fce5eafb (diff)
downloadlua-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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ltests.h b/ltests.h
index 906fae33..543b0d55 100644
--- a/ltests.h
+++ b/ltests.h
@@ -79,6 +79,13 @@ LUAI_FUNC int lua_checkmemory (lua_State *L);
79struct GCObject; 79struct GCObject;
80LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o); 80LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o);
81 81
82
83/*
84** Function to print a value
85*/
86struct TValue;
87LUAI_FUNC void lua_printvalue (struct TValue *v);
88
82/* 89/*
83** Function to print the stack 90** Function to print the stack
84*/ 91*/