]> git.mxchange.org Git - simgear.git/blob - simgear/canvas/ShivaVG/src/shArrays.c
Update for OpenSceneGraph 3.3.2 API changes.
[simgear.git] / simgear / canvas / ShivaVG / src / shArrays.c
1 /*
2  * Copyright (c) 2007 Ivan Leben
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  * 
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  * 
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library in the file COPYING;
16  * if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18  *
19  */
20
21 /*--------------------------------------------
22  * Definitions of all the arrays used
23  *--------------------------------------------*/
24
25 #include "shArrays.h"
26
27 #define _ITEM_T  SHint
28 #define _ARRAY_T SHIntArray
29 #define _FUNC_T  shIntArray
30 #define _ARRAY_DEFINE
31 #include "shArrayBase.h"
32
33 #define _ITEM_T  SHuint8
34 #define _ARRAY_T SHUint8Array
35 #define _FUNC_T  shUint8Array
36 #define _ARRAY_DEFINE
37 #include "shArrayBase.h"
38
39 #define _ITEM_T  SHfloat
40 #define _ARRAY_T SHFloatArray
41 #define _FUNC_T  shFloatArray
42 #define _ARRAY_DEFINE
43 #include "shArrayBase.h"
44
45 #define _ITEM_T  SHRectangle
46 #define _ARRAY_T SHRectArray
47 #define _FUNC_T  shRectArray
48 #define _COMPARE_T(x,y) 1
49 #define _ARRAY_DEFINE
50 #include "shArrayBase.h"