projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82a913d
)
update hook list test
author
Lennart Poettering
<lennart@poettering.net>
Sat, 12 Aug 2006 23:55:48 +0000
(23:55 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 12 Aug 2006 23:55:48 +0000
(23:55 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1233
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/tests/hook-list-test.c
patch
|
blob
|
history
diff --git
a/src/tests/hook-list-test.c
b/src/tests/hook-list-test.c
index
ee0b54f
..
b0ea599
100644
(file)
--- a/
src/tests/hook-list-test.c
+++ b/
src/tests/hook-list-test.c
@@
-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
@@
int main(int argc, char *argv[]) {
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);