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,                              \
                              min_api,                             \
                              g_object_new (gtype, ##__VA_ARGS__), \
                              g_object_unref)

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, view it on GitHub, or mute the thread.