libvisual  0.5.0
lv_types.h
1 /* Libvisual - The audio visualisation framework.
2  *
3  * Copyright (C) 2012 Libvisual team
4  * 2004-2006 Dennis Smit
5  *
6  * Authors: Dennis Smit <ds@nerds-incorporated.org>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License as
10  * published by the Free Software Foundation; either version 2.1
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21  */
22 
23 #ifndef _LV_TYPES_H
24 #define _LV_TYPES_H
25 
26 #include <libvisual/lvconfig.h>
27 #include <libvisual/lv_defines.h>
28 #include <stdint.h>
29 
30 LV_BEGIN_DECLS
31 
32 #define VISUAL_TABLESIZE(table) (sizeof (table) / sizeof (table[0]))
33 
34 LV_END_DECLS
35 
36 #endif /* _LV_TYPES_H */