• Thomas Martitz's avatar
    plugins: Pass pdata to PluginCallback function by default · 58c8144a
    Thomas Martitz yazdı
    If the plugin did not set its own user_data we set it to whatever it set
    with geany_plugin_register_full() or geany_plugin_set_data().
    This is particularly convinient because PluginCallback is usually statically
    allocated, at which point dynamically allocated plugin data doesn't exists yet.
    58c8144a
demoplugin.c 8.29 KB