GLUS
glus_typedef.h
Go to the documentation of this file.
1 /*
2  * GLUS - Modern OpenGL, OpenGL ES and OpenVG Utilities. Copyright (C) since 2010 Norbert Nopper
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program 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
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef GLUS_TYPEDEF_H_
19 #define GLUS_TYPEDEF_H_
20 
21 typedef unsigned char GLUSboolean;
22 typedef signed char GLUSbyte;
23 typedef unsigned char GLUSubyte;
24 typedef char GLUSchar;
25 typedef short GLUSshort;
26 typedef unsigned short GLUSushort;
27 typedef int GLUSint;
28 typedef unsigned int GLUSuint;
29 typedef int GLUSfixed;
30 typedef int64_t GLUSint64;
31 typedef uint64_t GLUSuint64;
32 typedef int GLUSsizei;
33 typedef unsigned int GLUSenum;
34 // GLUSintptr, GLUSsizeiptr and GLUSsync not implemented.
35 typedef unsigned int GLUSbitfield;
36 typedef unsigned short GLUShalf;
37 typedef float GLUSfloat;
38 typedef float GLUSclampf;
39 typedef double GLUSdouble;
40 typedef double GLUSclampd;
41 
42 typedef struct _GLUScomplex
43 {
46 } GLUScomplex;
47 
48 #ifdef __cplusplus
49 #define GLUSvoid void
50 #else
51 typedef void GLUSvoid;
52 #endif
53 
54 #endif /* GLUS_TYPEDEF_H_ */
double GLUSdouble
Definition: glus_typedef.h:39
int GLUSint
Definition: glus_typedef.h:27
int64_t GLUSint64
Definition: glus_typedef.h:30
float GLUSfloat
Definition: glus_typedef.h:37
void GLUSvoid
Definition: glus_typedef.h:51
Definition: glus_typedef.h:42
unsigned int GLUSuint
Definition: glus_typedef.h:28
short GLUSshort
Definition: glus_typedef.h:25
signed char GLUSbyte
Definition: glus_typedef.h:22
unsigned short GLUShalf
Definition: glus_typedef.h:36
unsigned int GLUSenum
Definition: glus_typedef.h:33
char GLUSchar
Definition: glus_typedef.h:24
int GLUSsizei
Definition: glus_typedef.h:32
unsigned char GLUSubyte
Definition: glus_typedef.h:23
unsigned char GLUSboolean
Definition: glus_typedef.h:21
double GLUSclampd
Definition: glus_typedef.h:40
GLUSfloat real
Definition: glus_typedef.h:44
struct _GLUScomplex GLUScomplex
unsigned int GLUSbitfield
Definition: glus_typedef.h:35
int GLUSfixed
Definition: glus_typedef.h:29
float GLUSclampf
Definition: glus_typedef.h:38
unsigned short GLUSushort
Definition: glus_typedef.h:26
GLUSfloat imaginary
Definition: glus_typedef.h:45
uint64_t GLUSuint64
Definition: glus_typedef.h:31