diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-06-05 19:17:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-06-05 19:17:44 -0300 |
commit | 02134b4a8791aad79b21d75fb8cef6a3a908a767 (patch) | |
tree | e7acef61eda957830c2f6d2841b48c5de801dcc8 /lbuiltin.c | |
parent | bdb1db4d373b1379d48e60666a00106d50213d6a (diff) | |
download | lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.tar.gz lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.tar.bz2 lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.zip |
name: lua_pushCclosure -> lua_pushcclosure.
Diffstat (limited to 'lbuiltin.c')
-rw-r--r-- | lbuiltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.27 1998/03/09 21:49:52 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.28 1998/05/31 22:19:35 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -430,7 +430,7 @@ static void testC (void) | |||
430 | 430 | ||
431 | case 'c': reg[getnum(s)] = lua_createtable(); break; | 431 | case 'c': reg[getnum(s)] = lua_createtable(); break; |
432 | case 'C': { lua_CFunction f = lua_getcfunction(lua_getglobal(getname(s))); | 432 | case 'C': { lua_CFunction f = lua_getcfunction(lua_getglobal(getname(s))); |
433 | lua_pushCclosure(f, getnum(s)); | 433 | lua_pushcclosure(f, getnum(s)); |
434 | break; | 434 | break; |
435 | } | 435 | } |
436 | case 'P': reg[getnum(s)] = lua_pop(); break; | 436 | case 'P': reg[getnum(s)] = lua_pop(); break; |