summaryrefslogtreecommitdiff
path: root/gst/gstplugin.h
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2003-12-22 01:39:35 +0000
committerDavid Schleef <ds@schleef.org>2003-12-22 01:39:35 +0000
commit8c9cd079d4f9a516ca52b2c44432ab8f3b19ec71 (patch)
treef59378894f2eb1186291d5dd566d10ca34774715 /gst/gstplugin.h
parent54b3850775db36acf0fabbe89861592647b86af4 (diff)
Merge CAPS branch
Original commit message from CVS: Merge CAPS branch
Diffstat (limited to 'gst/gstplugin.h')
-rw-r--r--gst/gstplugin.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/gst/gstplugin.h b/gst/gstplugin.h
index fa2510ccc..8d31d29b0 100644
--- a/gst/gstplugin.h
+++ b/gst/gstplugin.h
@@ -80,8 +80,7 @@ struct _GstPlugin {
gpointer _gst_reserved[GST_PADDING];
};
-#ifndef GST_PLUGIN_STATIC
-#define GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,package,origin) \
+#define GST_PLUGIN_DEFINE(major,minor,name,description,init,version,license,package,origin) \
GstPluginDesc gst_plugin_desc = { \
major, \
minor, \
@@ -93,11 +92,9 @@ GstPluginDesc gst_plugin_desc = { \
license, \
package, \
origin, \
- GST_PADDING_INIT \
-};
-#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin)
-#else
-#define GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,package,origin)
+ GST_PADDING_INIT \
+};
+
#define GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin) \
static void GST_GNUC_CONSTRUCTOR \
_gst_plugin_static_init__ ##init (void) \
@@ -117,12 +114,7 @@ _gst_plugin_static_init__ ##init (void) \
}; \
_gst_plugin_register_static (&plugin_desc_); \
}
-#endif
-#define GST_PLUGIN_DEFINE(major,minor,name,description,init,version,license,package,origin)\
- GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin)\
- GST_PLUGIN_DEFINE_DYNAMIC(major,minor,name,description,init,version,license,package,origin)
-
#define GST_LICENSE_UNKNOWN "unknown"