diff options
Diffstat (limited to 'modules/arabic/arabic.c')
-rw-r--r-- | modules/arabic/arabic.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/arabic/arabic.c b/modules/arabic/arabic.c index ec598b17..05df83f9 100644 --- a/modules/arabic/arabic.c +++ b/modules/arabic/arabic.c @@ -371,15 +371,21 @@ arabic_engine_x_new () /* The following three functions provide the public module API for * Pango */ +#ifdef MODULE_PREFIX +#define MODULE_ENTRY(func) _pango_arabic_##func +#else +#define MODULE_ENTRY(func) func +#endif + void -script_engine_list (PangoEngineInfo **engines, int *n_engines) +MODULE_ENTRY(script_engine_list) (PangoEngineInfo **engines, int *n_engines) { *engines = script_engines; *n_engines = n_script_engines; } PangoEngine * -script_engine_load (const char *id) +MODULE_ENTRY(script_engine_load) (const char *id) { if (!strcmp (id, "ArabicScriptEngineLang")) return arabic_engine_lang_new (); @@ -390,6 +396,6 @@ script_engine_load (const char *id) } void -script_engine_unload (PangoEngine *engine) +MODULE_ENTRY(script_engine_unload) (PangoEngine *engine) { } |