]> code.delx.au - pulseaudio/blob - src/modules/module-defs.h.m4
remove remaining $
[pulseaudio] / src / modules / module-defs.h.m4
1 changecom(`/*', `*/')dnl
2 define(`module_name', patsubst(patsubst(patsubst(fname, `-symdef.h$'), `^.*/'), `[^0-9a-zA-Z]', `_'))dnl
3 define(`c_symbol', patsubst(module_name, `[^0-9a-zA-Z]', `_'))dnl
4 define(`c_macro', patsubst(module_name, `[^0-9a-zA-Z]', `'))dnl
5 define(`incmacro', `foo'c_macro`symdeffoo')dnl
6 define(`gen_symbol', `#define $1 'module_name`_LTX_$1')dnl
7 #ifndef incmacro
8 #define incmacro
9
10 #include <pulsecore/core.h>
11 #include <pulsecore/module.h>
12 #include <pulsecore/macro.h>
13
14 gen_symbol(pa__init)
15 gen_symbol(pa__done)
16 gen_symbol(pa__get_author)
17 gen_symbol(pa__get_description)
18 gen_symbol(pa__get_usage)
19 gen_symbol(pa__get_version)
20 gen_symbol(pa__load_once)
21
22 int pa__init(pa_module*m);
23 void pa__done(pa_module*m);
24
25 const char* pa__get_author(void);
26 const char* pa__get_description(void);
27 const char* pa__get_usage(void);
28 const char* pa__get_version(void);
29 pa_bool_t pa__load_once(void);
30
31 #endif