# HG changeset patch # User nenolod # Date 1180003074 25200 # Node ID 7144a4e5e97844437f904db39b3cf2971cbc9034 # Parent f0c1c8b22c88e532b60224d33e8eecf994937291 [svn] - temporarily work around plugin API v1 retardation diff -r f0c1c8b22c88 -r 7144a4e5e978 ChangeLog --- a/ChangeLog Thu May 24 03:27:54 2007 -0700 +++ b/ChangeLog Thu May 24 03:37:54 2007 -0700 @@ -1,3 +1,12 @@ +2007-05-24 10:27:54 +0000 William Pitcock + revision [4620] + - first attempt at an plugin API2 loader. this is entirely implemented inside the plugin2 namespace, so please respect that if you go editing this ;p + + trunk/src/audacious/plugin.h | 1 + trunk/src/audacious/pluginenum.c | 128 +++++++++++++++++++++++++++++++++++++-- + 2 files changed, 123 insertions(+), 6 deletions(-) + + 2007-05-24 09:03:17 +0000 William Pitcock revision [4618] - add functions for defining the v2 plugin header diff -r f0c1c8b22c88 -r 7144a4e5e978 src/audacious/build_stamp.c --- a/src/audacious/build_stamp.c Thu May 24 03:27:54 2007 -0700 +++ b/src/audacious/build_stamp.c Thu May 24 03:37:54 2007 -0700 @@ -1,2 +1,2 @@ #include -const gchar *svn_stamp = "20070524-4618"; +const gchar *svn_stamp = "20070524-4620"; diff -r f0c1c8b22c88 -r 7144a4e5e978 src/audacious/pluginenum.c --- a/src/audacious/pluginenum.c Thu May 24 03:27:54 2007 -0700 +++ b/src/audacious/pluginenum.c Thu May 24 03:37:54 2007 -0700 @@ -231,6 +231,7 @@ for (ip_iter = header->ip_list; *ip_iter != NULL; ip_iter++) { + PLUGIN(*ip_iter)->filename = g_strdup(filename); g_print("plugin2 '%s' provides InputPlugin <%p>", filename, *ip_iter); input_plugin_init(PLUGIN(*ip_iter)); }