From a9714f4a07aa70d38d9d36513d4b321e9027a9ef Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Sat, 15 Feb 2020 17:35:50 +0000 Subject: [PATCH] sync with experimental git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7289 0b2b3880-5936-4365-a048-eb17d2e5a6bf --- .../luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.c | 6 +++--- .../luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.h | 3 +++ source/texk/web2c/luatexdir/luatex_svnversion.h | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.c b/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.c index ac7081f01..176c552aa 100644 --- a/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.c +++ b/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.c @@ -13,7 +13,7 @@ static int lua_geti (lua_State *L, int index, lua_Integer i) { } #endif -int shape_full (lua_State *L) { +static int shape_full (lua_State *L) { Font *font = (Font *)luaL_checkudata(L, 1, "harfbuzz.Font"); Buffer *buf = (Buffer *)luaL_checkudata(L, 2, "harfbuzz.Buffer"); unsigned int i; @@ -50,12 +50,12 @@ int shape_full (lua_State *L) { return 1; } -int version (lua_State *L) { +static int version (lua_State *L) { lua_pushstring(L, hb_version_string()); return 1; } -int list_shapers (lua_State *L) { +static int list_shapers (lua_State *L) { const char **shaper_list = hb_shape_list_shapers (); int i = 0; diff --git a/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.h b/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.h index 3d9d2e019..60f5db9c2 100644 --- a/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.h +++ b/source/texk/web2c/luatexdir/luaharfbuzz/src/luaharfbuzz/luaharfbuzz.h @@ -37,3 +37,6 @@ int register_direction(lua_State *L); int register_language(lua_State *L); int register_ot(lua_State *L); int register_unicode(lua_State *L); + +// Missed declaration +int luaopen_luaharfbuzz (lua_State *L); diff --git a/source/texk/web2c/luatexdir/luatex_svnversion.h b/source/texk/web2c/luatexdir/luatex_svnversion.h index 91aa3184a..673732b4c 100644 --- a/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1 +1 @@ -#define luatex_svn_revision 7286 +#define luatex_svn_revision 7287