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 /lapi.c | |
| parent | bdb1db4d373b1379d48e60666a00106d50213d6a (diff) | |
| download | lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.tar.gz lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.tar.bz2 lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.zip | |
name: lua_pushCclosure -> lua_pushcclosure.
Diffstat (limited to '')
| -rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lapi.c,v 1.23 1998/03/06 18:47:42 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.24 1998/03/09 21:49:52 roberto Exp roberto $ |
| 3 | ** Lua API | 3 | ** Lua API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -345,7 +345,7 @@ void lua_pushstring (char *s) | |||
| 345 | lua_pushlstring(s, strlen(s)); | 345 | lua_pushlstring(s, strlen(s)); |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | void lua_pushCclosure (lua_CFunction fn, int n) | 348 | void lua_pushcclosure (lua_CFunction fn, int n) |
| 349 | { | 349 | { |
| 350 | if (fn == NULL) | 350 | if (fn == NULL) |
| 351 | lua_error("API error - attempt to push a NULL Cfunction"); | 351 | lua_error("API error - attempt to push a NULL Cfunction"); |
