GNOME Bugzilla – Bug 559722
missing mention of implicit PACKAGE use in GST_PLUGIN_DEFINE
Last modified: 2009-01-25 20:16:13 UTC
GST_PLUGIN_DEFINE and GST_PLUGIN_DEFINE_STATIC both implicitly use the PACKAGE macro. This needs to be mentioned in the docs (and also what it is used for).
Good catch - I'll document it. Its used to add the package that defines the plugin to the registry metadata. I wonder if I should also add an #ifdef for it and use a static string "unknown" if its not defined. That would fix a build error, incase someone is not using autotools (which define PACKAGE).
commit f963f7f14d507b510b13bdd0995663781b551c0d Author: Stefan Kost <ensonic@users.sf.net> Date: Sun Jan 25 22:11:32 2009 +0200 Document that GST_PLUGIN_DEFINE macros use PACKAGE define. Fixes #559722. PACKAGE is defined by autofoo. If people use something different, they might want to define it themself.