It was suggested by you or maybe b4n

Ah right, I made a PR for it, but you closed without merging my commits.

Still I don't really see what it buys you, the example proxy change would then look like this instead of above:

...
  const gchar *patterns[4] = { NULL };
  if (geany_api_version() >= 230)
  {
    patterns[0] = "*.so";
    patterns[1] = "*.dll";
    patterns[2] = "*.plugin";
  }
  else
  {
    patterns[0] = "so";
    patterns[1] = "dll";
    patterns[2] = "plugin";
  }
  geany_plugin_register_proxy(plugin, patterns);
...

Not really an improvement over just using GEANY_API_VERSION with the preprocessor, unless I misunderstand?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.