diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-16 10:56:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-16 10:56:14 -0300 |
commit | f14662fca63652dc112732b899e3d829bfecb1ae (patch) | |
tree | be653b34e6ba57ed7a1b97aee010179f1005e015 /lutf8lib.c | |
parent | a9af12bbe765dd2c60fa3d9d43013042fd3361a8 (diff) | |
download | lua-f14662fca63652dc112732b899e3d829bfecb1ae.tar.gz lua-f14662fca63652dc112732b899e3d829bfecb1ae.tar.bz2 lua-f14662fca63652dc112732b899e3d829bfecb1ae.zip |
detail (added placeholders for non-function fields to preallocate
space for them)
Diffstat (limited to 'lutf8lib.c')
-rw-r--r-- | lutf8lib.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lutf8lib.c,v 1.8 2014/04/11 18:19:07 roberto Exp roberto $ | 2 | ** $Id: lutf8lib.c,v 1.9 2014/05/14 18:33:37 roberto Exp roberto $ |
3 | ** Standard library for UTF-8 manipulation | 3 | ** Standard library for UTF-8 manipulation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -238,6 +238,8 @@ static struct luaL_Reg funcs[] = { | |||
238 | {"char", utfchar}, | 238 | {"char", utfchar}, |
239 | {"len", utflen}, | 239 | {"len", utflen}, |
240 | {"codes", iter_codes}, | 240 | {"codes", iter_codes}, |
241 | /* placeholders */ | ||
242 | {"charpatt", NULL}, | ||
241 | {NULL, NULL} | 243 | {NULL, NULL} |
242 | }; | 244 | }; |
243 | 245 | ||