ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
glfuncs.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) by Fred Klaus *
3  * development@fkweb.de *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ***************************************************************************/
20 #ifndef GLFUNCS_H
21 #define GLFUNCS_H
22 
23 #include "SDL.h"
24 #include "SDL_opengl.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #define GL_FUNC(ret,func,params) typedef ret (APIENTRY * ptr##func) params;
31 #define GL_FUNC_OPTIONAL(ret,func,params) typedef ret (APIENTRY * ptr##func) params;
32 #include "glfunclist.h"
33 #undef GL_FUNC
34 #undef GL_FUNC_OPTIONAL
35 
36 #define GL_FUNC(ret,func,params) extern ptr##func o##func;
37 #define GL_FUNC_OPTIONAL(ret,func,params) extern ptr##func o##func;
38 #include "glfunclist.h"
39 #undef GL_FUNC
40 #undef GL_FUNC_OPTIONAL
41 
42 
43 extern int init_glfuncs();
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif
50 
int init_glfuncs()
Definition: glfuncs.cpp:43