diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-01-07 14:26:48 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-01-07 14:26:48 -0200 |
| commit | 26679b1a48de4f7cfcde985764cb31c78ece4fc3 (patch) | |
| tree | df30c6972204791dd6a792dd36c1dd132bc5dbf4 /lua.h | |
| parent | e04c2b9aa817ed59b4e05025e0d33bfb3bba8f59 (diff) | |
| download | lua-26679b1a48de4f7cfcde985764cb31c78ece4fc3.tar.gz lua-26679b1a48de4f7cfcde985764cb31c78ece4fc3.tar.bz2 lua-26679b1a48de4f7cfcde985764cb31c78ece4fc3.zip | |
back to upavalues as extra arguments for C closures; this way it's
trivial to make currying.
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.12 1997/12/18 18:32:39 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.13 1998/01/02 17:46: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 |
| @@ -77,7 +77,6 @@ void lua_beginblock (void); | |||
| 77 | void lua_endblock (void); | 77 | void lua_endblock (void); |
| 78 | 78 | ||
| 79 | lua_Object lua_lua2C (int number); | 79 | lua_Object lua_lua2C (int number); |
| 80 | lua_Object lua_upvalue (int n); | ||
| 81 | #define lua_getparam(_) lua_lua2C(_) | 80 | #define lua_getparam(_) lua_lua2C(_) |
| 82 | #define lua_getresult(_) lua_lua2C(_) | 81 | #define lua_getresult(_) lua_lua2C(_) |
| 83 | 82 | ||
