diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-26 13:38:01 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-26 13:38:01 -0200 |
commit | fd25d4ad85302a84551ac6ed915435c035a978e4 (patch) | |
tree | 83b182dd0a067bf4087f859cd82f4eb26324899d /lapi.c | |
parent | 2431534f1061149bf7db7985dd137cd6324056a8 (diff) | |
download | lua-fd25d4ad85302a84551ac6ed915435c035a978e4.tar.gz lua-fd25d4ad85302a84551ac6ed915435c035a978e4.tar.bz2 lua-fd25d4ad85302a84551ac6ed915435c035a978e4.zip |
no need to define functions for macros...
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.30 1998/12/30 17:26:49 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.31 1999/01/15 13:11:22 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 | */ |
@@ -622,29 +622,6 @@ lua_Object lua_getref (int ref) | |||
622 | /* }====================================================== */ | 622 | /* }====================================================== */ |
623 | 623 | ||
624 | 624 | ||
625 | /* | ||
626 | ** {====================================================== | ||
627 | ** Derived functions | ||
628 | ** ======================================================= | ||
629 | */ | ||
630 | int (lua_call) (char *name) { return lua_call(name); } | ||
631 | |||
632 | void (lua_pushref) (int ref) { lua_pushref(ref); } | ||
633 | |||
634 | int (lua_refobject) (lua_Object o, int l) { return lua_refobject(o, l); } | ||
635 | |||
636 | void (lua_register) (char *n, lua_CFunction f) { lua_register(n, f); } | ||
637 | |||
638 | void (lua_pushuserdata) (void *u) { lua_pushuserdata(u); } | ||
639 | |||
640 | void (lua_pushcfunction) (lua_CFunction f) { lua_pushcfunction(f); } | ||
641 | |||
642 | int (lua_clonetag) (int t) { return lua_clonetag(t); } | ||
643 | |||
644 | /* }====================================================== */ | ||
645 | |||
646 | |||
647 | |||
648 | 625 | ||
649 | #ifdef LUA_COMPAT2_5 | 626 | #ifdef LUA_COMPAT2_5 |
650 | /* | 627 | /* |