Skip to content
Snippets Groups Projects
Commit b6d1df6d authored by George Kiagiadakis's avatar George Kiagiadakis
Browse files

plugin: remove WP_PLUGIN_DEFINE_TYPE - bad idea

parent cb1b3ebf
No related branches found
No related tags found
No related merge requests found
......@@ -184,22 +184,6 @@ const WpPluginMetadata * wp_plugin_get_metadata (WpPlugin * self);
*/
#define WP_MODULE_INIT_SYMBOL wireplumber__module_init
/**
* WP_PLUGIN_DEFINE_TYPE: (skip)
*
* Convenience macro for defining a #WpPlugin subclass in a module
*/
#define WP_PLUGIN_DEFINE_TYPE(TN, t_n) \
typedef struct _##TN { \
WpPlugin parent; \
} TN; \
\
typedef struct _##TN##Class { \
WpPluginClass parent; \
} TN##Class; \
\
G_DEFINE_TYPE_WITH_PRIVATE (TN, t_n, wp_plugin_get_type ())
G_END_DECLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment