diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-12-08 01:01:40 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-12-08 01:01:40 +0000 |
commit | 329878c07db2f693ffc08a3afc55acb89a701098 (patch) | |
tree | 7e5fdd5dbfc75a63380c74c95b19d874ceec5494 /pango/pango-engine.h | |
parent | f58d2da615d3f98f4991b4e8786d9c0b74283ce5 (diff) | |
download | pango-329878c07db2f693ffc08a3afc55acb89a701098.tar.gz |
Add G_MODULE_EXPORT annotation for modules.
2008-12-07 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-engine.h: Add G_MODULE_EXPORT annotation for modules.
svn path=/trunk/; revision=2750
Diffstat (limited to 'pango/pango-engine.h')
-rw-r--r-- | pango/pango-engine.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pango/pango-engine.h b/pango/pango-engine.h index ddc9ab16..dbbaf5d3 100644 --- a/pango/pango-engine.h +++ b/pango/pango-engine.h @@ -34,6 +34,8 @@ G_BEGIN_DECLS /* Module API */ +#include <gmodule.h> + #define PANGO_RENDER_TYPE_NONE "PangoRenderNone" #define PANGO_TYPE_ENGINE (pango_engine_get_type ()) @@ -354,7 +356,7 @@ prefix ## _register_type (GTypeModule *module) \ PANGO_TYPE_ENGINE_SHAPE) /* Macro used for possibly builtin Pango modules. Not useful - * for externally build modules. If we are compiling a module standaline, + * for externally build modules. If we are compiling a module standalone, * then we name the entry points script_engine_list, etc. But if we * are compiling it for inclusion directly in Pango, then we need them to * to have distinct names for this module, so we prepend a prefix. @@ -369,7 +371,7 @@ prefix ## _register_type (GTypeModule *module) \ #define _PANGO_MODULE_ENTRY2(prefix,func) _PANGO_MODULE_ENTRY3(prefix,func) #define _PANGO_MODULE_ENTRY3(prefix,func) prefix##_script_engine_##func #else -#define PANGO_MODULE_ENTRY(func) script_engine_##func +#define PANGO_MODULE_ENTRY(func) G_MODULE_EXPORT script_engine_##func #endif #endif /* PANGO_ENABLE_ENGINE */ |