1997-09-16 12:25:59 -07:00
|
|
|
/*
|
1999-12-23 10:19:57 -08:00
|
|
|
** $Id: lapi.h,v 1.11 1999/12/14 18:33:29 roberto Exp roberto $
|
1998-06-19 09:14:09 -07:00
|
|
|
** Auxiliary functions from Lua API
|
1997-09-16 12:25:59 -07:00
|
|
|
** See Copyright Notice in lua.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef lapi_h
|
|
|
|
#define lapi_h
|
|
|
|
|
|
|
|
|
|
|
|
#include "lobject.h"
|
|
|
|
|
|
|
|
|
1999-12-23 10:19:57 -08:00
|
|
|
extern const lua_Type luaA_normtype[];
|
|
|
|
|
|
|
|
#define luaA_normalizedtype(o) (luaA_normtype[-ttype(o)])
|
|
|
|
|
|
|
|
|
1999-12-14 10:33:29 -08:00
|
|
|
void luaA_setnormalized (TObject *d, const TObject *s);
|
|
|
|
void luaA_checkCparams (lua_State *L, int nParams);
|
|
|
|
const TObject *luaA_protovalue (const TObject *o);
|
1999-11-22 05:12:07 -08:00
|
|
|
void luaA_pushobject (lua_State *L, const TObject *o);
|
|
|
|
GlobalVar *luaA_nextvar (lua_State *L, TaggedString *g);
|
|
|
|
int luaA_next (lua_State *L, const Hash *t, int i);
|
1999-12-14 10:33:29 -08:00
|
|
|
lua_Object luaA_putluaObject (lua_State *L, const TObject *o);
|
1999-11-22 05:12:07 -08:00
|
|
|
lua_Object luaA_putObjectOnTop (lua_State *L);
|
1997-09-16 12:25:59 -07:00
|
|
|
|
|
|
|
#endif
|