Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
api-declare-begin.h
Go to the documentation of this file.
1 /*
2  * api-declare-begin.h
3  * Copyright 2010 John Lindgren
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  *
8  * 1. Redistributions of source code must retain the above copyright notice,
9  * this list of conditions, and the following disclaimer.
10  *
11  * 2. Redistributions in binary form must reproduce the above copyright notice,
12  * this list of conditions, and the following disclaimer in the documentation
13  * provided with the distribution.
14  *
15  * This software is provided "as is" and without any warranty, express or
16  * implied. In no event shall the authors be liable for any damages arising from
17  * the use of this software.
18  */
19 
20 #if ! defined AUD_API_NAME || ! defined AUD_API_SYMBOL || defined AUD_API_DECLARE_H
21 #error Bad usage of api-declare-begin.h
22 #endif
23 
24 #define AUD_API_DECLARE_H
25 
26 #define AUD_FUNC0(t,n) .n = n,
27 #define AUD_FUNC1(t,n,t1,n1) .n = n,
28 #define AUD_FUNC2(t,n,t1,n1,t2,n2) .n = n,
29 #define AUD_FUNC3(t,n,t1,n1,t2,n2,t3,n3) .n = n,
30 #define AUD_FUNC4(t,n,t1,n1,t2,n2,t3,n3,t4,n4) .n = n,
31 #define AUD_FUNC5(t,n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5) .n = n,
32 #define AUD_FUNC6(t,n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5,t6,n6) .n = n,
33 #define AUD_FUNC7(t,n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5,t6,n6,t7,n7) .n = n,
34 #define AUD_FUNC8(t,n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5,t6,n6,t7,n7,t8,n8) .n = n,
35 
36 #define AUD_VFUNC0(n) .n = n,
37 #define AUD_VFUNC1(n,t1,n1) .n = n,
38 #define AUD_VFUNC2(n,t1,n1,t2,n2) .n = n,
39 #define AUD_VFUNC3(n,t1,n1,t2,n2,t3,n3) .n = n,
40 #define AUD_VFUNC4(n,t1,n1,t2,n2,t3,n3,t4,n4) .n = n,
41 #define AUD_VFUNC5(n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5) .n = n,
42 #define AUD_VFUNC6(n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5,t6,n6) .n = n,
43 #define AUD_VFUNC7(n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5,t6,n6,t7,n7) .n = n,
44 #define AUD_VFUNC8(n,t1,n1,t2,n2,t3,n3,t4,n4,t5,n5,t6,n6,t7,n7,t8,n8) .n = n,
45 
46 const struct AUD_API_NAME AUD_API_SYMBOL = {