From 255052b6c6a1b109c93b104c03de8968b56dcd5a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 12 Feb 2001 13:42:44 -0200 Subject: better API checks --- ltests.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 1d29b82a..2d7a4822 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 1.3 2001/02/06 16:01:29 roberto Exp roberto $ +** $Id: ltests.h,v 1.4 2001/02/06 18:18:58 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -16,6 +16,7 @@ #undef NDEBUG #include #define lua_assert(c) assert(c) +#define api_check(L, o) lua_assert(o) /* to avoid warnings, and to make sure value is really unused */ -- cgit v1.2.3-55-g6feb