Sorry for the spam, but a related idea (so I can find it later). We could have
a macro like this:
#define GEANY_PLUGIN_REGISTER_OBJECT(plugin, min_api, gtype, ...) \
GEANY_PLUGIN_REGISTER_FULL (plugin, \
g_object_new (gtype, ##__VA_ARGS__), \
To provide syntax sugar to bind a GObject to the module's lifetime.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: