return ptr;
}
+/* XXX: not used
static void
_elua_table_ptr_del(lua_State *L, const void *key)
{
lua_pushnil(L);
lua_settable(L, LUA_REGISTRYINDEX);
}
+*/
static void
_elua_gc(lua_State *L)
return n;
}
+/* XXX: not used
static int
_elua_3_int_get(lua_State *L, int i, Eina_Bool tr,
const char *n1, int *v1,
}
return n;
}
+*/
static int
_elua_4_int_get(lua_State *L, int i, Eina_Bool tr,
#if defined(__CEGCC__) || defined(__MINGW32CE__)
# define EDJE_MODULE_NAME "edje_%s.dll"
+# define EDJE_EXTRA_MODULE_NAME 1
#elif _WIN32
# define EDJE_MODULE_NAME "module.dll"
#else
Eina_Module *em;
char tmp[PATH_MAX];
- /* A warning is expected has the naming change under wince. */
- snprintf(tmp, sizeof (tmp), "%s/%s/%s/" EDJE_MODULE_NAME, path, module, MODULE_ARCH, module);
+ snprintf(tmp, sizeof (tmp), "%s/%s/%s/" EDJE_MODULE_NAME, path, module, MODULE_ARCH
+#ifdef EDJE_EXTRA_MODULE_NAME
+ , module
+#endif
+ );
em = eina_module_new(tmp);
if (!em) continue ;
{
char tmp[PATH_MAX];
- /* A warning is expected has the naming change under wince. */
- snprintf(tmp, sizeof (tmp), "%s/%s/" EDJE_MODULE_NAME, info->path, MODULE_ARCH, ecore_file_file_get(info->path));
+ snprintf(tmp, sizeof (tmp), "%s/%s/" EDJE_MODULE_NAME, info->path, MODULE_ARCH
+#ifdef EDJE_EXTRA_MODULE_NAME
+ , ecore_file_file_get(info->path)
+#endif
+ );
if (ecore_file_exists(tmp))
result = eina_list_append(result, eina_stringshare_add(ecore_file_file_get(info->path)));