mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
detail (added placeholders for non-function fields to preallocate
space for them)
This commit is contained in:
parent
a9af12bbe7
commit
f14662fca6
3 changed files with 16 additions and 3 deletions
|
|
@ -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}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue