From f14662fca63652dc112732b899e3d829bfecb1ae Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 16 Jul 2014 10:56:14 -0300 Subject: detail (added placeholders for non-function fields to preallocate space for them) --- lutf8lib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lutf8lib.c') diff --git a/lutf8lib.c b/lutf8lib.c index eca23ab7..e9557d61 100644 --- a/lutf8lib.c +++ b/lutf8lib.c @@ -1,5 +1,5 @@ /* -** $Id: lutf8lib.c,v 1.8 2014/04/11 18:19:07 roberto Exp roberto $ +** $Id: lutf8lib.c,v 1.9 2014/05/14 18:33:37 roberto Exp roberto $ ** Standard library for UTF-8 manipulation ** See Copyright Notice in lua.h */ @@ -238,6 +238,8 @@ static struct luaL_Reg funcs[] = { {"char", utfchar}, {"len", utflen}, {"codes", iter_codes}, + /* placeholders */ + {"charpatt", NULL}, {NULL, NULL} }; -- cgit v1.2.3-55-g6feb