aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-03-06 13:54:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-03-06 13:54:42 -0300
commit88a2023c3285c4514519158fba90e644fc6ffca3 (patch)
treeda6611257545c486ff856dd48d66d94e056f3d66 /lua.h
parent5ef1989c4b05aff8362a7ea6ba62aad76d4a040d (diff)
downloadlua-88a2023c3285c4514519158fba90e644fc6ffca3.tar.gz
lua-88a2023c3285c4514519158fba90e644fc6ffca3.tar.bz2
lua-88a2023c3285c4514519158fba90e644fc6ffca3.zip
support for strings with '\0'
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 4e11f987..90661078 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.14 1998/01/07 16:26:48 roberto Exp roberto $ 2** $Id: lua.h,v 1.15 1998/02/12 19:23:32 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -90,12 +90,14 @@ int lua_isfunction (lua_Object object);
90 90
91double lua_getnumber (lua_Object object); 91double lua_getnumber (lua_Object object);
92char *lua_getstring (lua_Object object); 92char *lua_getstring (lua_Object object);
93long lua_getstrlen (lua_Object object);
93lua_CFunction lua_getcfunction (lua_Object object); 94lua_CFunction lua_getcfunction (lua_Object object);
94void *lua_getuserdata (lua_Object object); 95void *lua_getuserdata (lua_Object object);
95 96
96 97
97void lua_pushnil (void); 98void lua_pushnil (void);
98void lua_pushnumber (double n); 99void lua_pushnumber (double n);
100void lua_pushlstr (char *s, long len);
99void lua_pushstring (char *s); 101void lua_pushstring (char *s);
100void lua_pushCclosure (lua_CFunction fn, int n); 102void lua_pushCclosure (lua_CFunction fn, int n);
101void lua_pushusertag (void *u, int tag); 103void lua_pushusertag (void *u, int tag);