File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11#include "luaharfbuzz.h"
22
3- int shape_full (lua_State * L ) {
3+ static int shape_full (lua_State * L ) {
44 Font * font = (Font * )luaL_checkudata (L , 1 , "harfbuzz.Font" );
55 Buffer * buf = (Buffer * )luaL_checkudata (L , 2 , "harfbuzz.Buffer" );
66 luaL_checktype (L , 3 , LUA_TTABLE );
@@ -36,12 +36,12 @@ int shape_full (lua_State *L) {
3636 return 1 ;
3737}
3838
39- int version (lua_State * L ) {
39+ static int version (lua_State * L ) {
4040 lua_pushstring (L , hb_version_string ());
4141 return 1 ;
4242}
4343
44- int list_shapers (lua_State * L ) {
44+ static int list_shapers (lua_State * L ) {
4545 const char * * shaper_list = hb_shape_list_shapers ();
4646 int i = 0 ;
4747
Original file line number Diff line number Diff line change 11#include "luaharfbuzzsubset.h"
22
3- int subset (lua_State * L ) {
3+ static int subset (lua_State * L ) {
44 // arguments: face and input
55 Face * face = (Face * )luaL_checkudata (L , 1 , "harfbuzz.Face" );
66 SubsetInput * input = (SubsetInput * )luaL_checkudata (L , 2 , "harfbuzz.SubsetInput" );
@@ -19,7 +19,7 @@ int subset(lua_State *L) {
1919 return 1 ;
2020}
2121
22- int version (lua_State * L ) {
22+ static int version (lua_State * L ) {
2323 lua_pushstring (L , hb_version_string ());
2424 return 1 ;
2525}
You can’t perform that action at this time.
0 commit comments