Skip to content
Snippets Groups Projects
Commit cdd008f3 authored by Luigi Scarso's avatar Luigi Scarso
Browse files

sync with experimental

parent cab56248
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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);
#define luatex_svn_revision 7286
#define luatex_svn_revision 7287
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment