1
0
mirror of https://github.com/lua/lua.git synced 2025-01-28 06:03:00 +08:00
lua/lapi.h

29 lines
736 B
C
Raw Normal View History

1997-09-16 16:25:59 -03:00
/*
** $Id: lapi.h,v 1.11 1999/12/14 18:33:29 roberto Exp roberto $
1998-06-19 13:14:09 -03:00
** Auxiliary functions from Lua API
1997-09-16 16:25:59 -03:00
** See Copyright Notice in lua.h
*/
#ifndef lapi_h
#define lapi_h
#include "lobject.h"
extern const lua_Type luaA_normtype[];
#define luaA_normalizedtype(o) (luaA_normtype[-ttype(o)])
1999-12-14 16:33:29 -02:00
void luaA_setnormalized (TObject *d, const TObject *s);
void luaA_checkCparams (lua_State *L, int nParams);
const TObject *luaA_protovalue (const TObject *o);
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 16:33:29 -02:00
lua_Object luaA_putluaObject (lua_State *L, const TObject *o);
lua_Object luaA_putObjectOnTop (lua_State *L);
1997-09-16 16:25:59 -03:00
#endif