aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-06-05 19:17:44 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-06-05 19:17:44 -0300
commit02134b4a8791aad79b21d75fb8cef6a3a908a767 (patch)
treee7acef61eda957830c2f6d2841b48c5de801dcc8 /lapi.c
parentbdb1db4d373b1379d48e60666a00106d50213d6a (diff)
downloadlua-02134b4a8791aad79b21d75fb8cef6a3a908a767.tar.gz
lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.tar.bz2
lua-02134b4a8791aad79b21d75fb8cef6a3a908a767.zip
name: lua_pushCclosure -> lua_pushcclosure.
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 0f6dbaf7..f0c0a7d1 100644
--- a/lapi.c
+++ b/lapi.c
@@ -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
348void lua_pushCclosure (lua_CFunction fn, int n) 348void 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");