diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-20 14:39:03 -0200 |
commit | 64eecc0b8219cc3bcaa2b717826a4376c60d9305 (patch) | |
tree | a1633501cdf21016a00bd555c475daea58ec24f5 /lstrlib.c | |
parent | 8b88ab07f7cfc216407a88d75ad8f0546224c8d7 (diff) | |
download | lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.gz lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.tar.bz2 lua-64eecc0b8219cc3bcaa2b717826a4376c60d9305.zip |
new macro LUA_API
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.53 2000/09/14 14:09:31 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.54 2000/10/05 12:14:08 roberto Exp roberto $ |
3 | ** Standard library for string operations and pattern-matching | 3 | ** Standard library for string operations and pattern-matching |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -616,6 +616,6 @@ static const struct luaL_reg strlib[] = { | |||
616 | /* | 616 | /* |
617 | ** Open string library | 617 | ** Open string library |
618 | */ | 618 | */ |
619 | void lua_strlibopen (lua_State *L) { | 619 | LUA_API void lua_strlibopen (lua_State *L) { |
620 | luaL_openl(L, strlib); | 620 | luaL_openl(L, strlib); |
621 | } | 621 | } |