From c624bdbddb760abedddd113b1ba839e50c6cbb61 Mon Sep 17 00:00:00 2001 From: Elliot Lee Date: Thu, 16 Nov 2000 17:22:29 +0000 Subject: Make some vars static. Implement pango_module_register function. Move * pango/modules.c: Make some vars static. Implement pango_module_register function. * pango/pango-modules.h, pango/modules.h: Move declaration of PangoIncludedModule to pango-modules.h for public use. --- pango/pango-modules.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'pango/pango-modules.h') diff --git a/pango/pango-modules.h b/pango/pango-modules.h index e6d7b565..53b3f697 100644 --- a/pango/pango-modules.h +++ b/pango/pango-modules.h @@ -37,6 +37,15 @@ struct _PangoMapEntry gboolean is_exact; }; +typedef struct _PangoIncludedModule PangoIncludedModule; + +struct _PangoIncludedModule +{ + void (*list) (PangoEngineInfo **engines, int *n_engines); + PangoEngine *(*load) (const char *id); + void (*unload) (PangoEngine *engine); +}; + PangoMap * pango_find_map (const char *lang, guint engine_type_id, guint render_type_id); @@ -44,6 +53,7 @@ PangoMapEntry *pango_map_get_entry (PangoMap *map, guint32 wc); PangoEngine * pango_map_get_engine (PangoMap *map, guint32 wc); +void pango_module_register (PangoIncludedModule *mod); #ifdef __cplusplus } -- cgit v1.2.1