aboutsummaryrefslogtreecommitdiff
path: root/lapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.h')
-rw-r--r--lapi.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lapi.h b/lapi.h
index 6a69dd15..9dc630e9 100644
--- a/lapi.h
+++ b/lapi.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.h,v 1.10 1999/12/02 16:24:45 roberto Exp roberto $ 2** $Id: lapi.h,v 1.11 1999/12/14 18:33:29 roberto Exp roberto $
3** Auxiliary functions from Lua API 3** Auxiliary functions from Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -11,7 +11,11 @@
11#include "lobject.h" 11#include "lobject.h"
12 12
13 13
14lua_Type luaA_normalizedtype (const TObject *o); 14extern const lua_Type luaA_normtype[];
15
16#define luaA_normalizedtype(o) (luaA_normtype[-ttype(o)])
17
18
15void luaA_setnormalized (TObject *d, const TObject *s); 19void luaA_setnormalized (TObject *d, const TObject *s);
16void luaA_checkCparams (lua_State *L, int nParams); 20void luaA_checkCparams (lua_State *L, int nParams);
17const TObject *luaA_protovalue (const TObject *o); 21const TObject *luaA_protovalue (const TObject *o);