From 04e495403ba66e88abfb5cc4cf1887f094eea57f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 2 Dec 2024 11:19:03 -0300 Subject: New function 'lua_printvalue' for internal debugging --- ltests.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ltests.h') 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); struct GCObject; LUAI_FUNC void lua_printobj (lua_State *L, struct GCObject *o); + +/* +** Function to print a value +*/ +struct TValue; +LUAI_FUNC void lua_printvalue (struct TValue *v); + /* ** Function to print the stack */ -- cgit v1.2.3-55-g6feb