[pulseaudio-commits] r1233 - /trunk/src/tests/hook-list-test.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Aug 12 16:55:48 PDT 2006


Author: lennart
Date: Sun Aug 13 01:55:48 2006
New Revision: 1233

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1233&root=pulseaudio&view=rev
Log:
update hook list test

Modified:
    trunk/src/tests/hook-list-test.c

Modified: trunk/src/tests/hook-list-test.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/tests/hook-list-test.c?rev=1233&root=pulseaudio&r1=1232&r2=1233&view=diff
==============================================================================
--- trunk/src/tests/hook-list-test.c (original)
+++ trunk/src/tests/hook-list-test.c Sun Aug 13 01:55:48 2006
@@ -4,7 +4,6 @@
 #include <pulsecore/log.h>
 
 PA_HOOK_DECLARE(test, const char *, const char*);
-PA_HOOK_IMPLEMENT(test, const char *, const char *);
 
 static pa_hook_result_t func1(const char*a, const char*b, void *userdata) {
     pa_log("#1 a=%s b=%s userdata=%s", a, b, (char*) userdata);
@@ -27,7 +26,6 @@
     PA_HOOK_APPEND(test, test, func2, u = (void*) "2");
     PA_HOOK_APPEND(test, test, func1, (void*) "1-2");
 
-
     PA_HOOK_EXECUTE(test, test, "arg1", "arg2");
 
     PA_HOOK_REMOVE(test, test, func2, u);




More information about the pulseaudio-commits mailing list