lua_gc(L, LUA_GCCOLLECT, 0);
}
-void *
+static void *
_edje_lua_checkudata(lua_State *L, int pos, const Edje_Lua_Reg * module)
{
luaL_checktype(L, pos, LUA_TUSERDATA);
lua_setmetatable(L, index);
}
-int
+static int
_edje_lua_look_fn(lua_State *L)
{
lua_rawgeti(L, -1, EDJE_LUA_FN);
}
}
-int
+static int
_edje_lua_look_get(lua_State *L)
{
lua_rawgeti(L, -1, EDJE_LUA_GET);
}
}
-int
+static int
_edje_lua_look_set(lua_State *L)
{
lua_rawgeti(L, -1, EDJE_LUA_SET);
return 0;
}
-Edje_Program *
+static Edje_Program *
_edje_lua_program_get_byname(Evas_Object * obj, const char *prog_name)
{
Edje_Program *epr;
ela->cur += nsize - osize;
if (ela->cur > ela->max)
{
- ERR("Edje Lua memory limit of %i bytes reached (%i allocated)",
+ ERR("Edje Lua memory limit of %zu bytes reached (%zu allocated)",
ela->max, ela->cur);
return NULL;
}