mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
function list macro
svn path=/trunk/; revision=7966
This commit is contained in:
parent
809430ad58
commit
04aba507f3
2 changed files with 27 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: opengl32.c,v 1.2 2004/02/01 17:07:16 royce Exp $
|
/* $Id: opengl32.c,v 1.3 2004/02/01 17:18:47 royce Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -16,6 +16,13 @@
|
||||||
|
|
||||||
#define EXPORT __declspec(dllexport)
|
#define EXPORT __declspec(dllexport)
|
||||||
|
|
||||||
|
const char* OPENGL32_funcnames[GLIDX_COUNT] =
|
||||||
|
{
|
||||||
|
#define X(X) #X,
|
||||||
|
GLFUNCS_MACRO
|
||||||
|
#undef X
|
||||||
|
};
|
||||||
|
|
||||||
static void OPENGL32_ThreadDetach()
|
static void OPENGL32_ThreadDetach()
|
||||||
{
|
{
|
||||||
/* FIXME - do we need to release some HDC or something? */
|
/* FIXME - do we need to release some HDC or something? */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: opengl32.h,v 1.2 2004/02/01 17:07:16 royce Exp $
|
/* $Id: opengl32.h,v 1.3 2004/02/01 17:18:48 royce Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -12,6 +12,24 @@
|
||||||
#ifndef OPENGL32_PRIVATE_H
|
#ifndef OPENGL32_PRIVATE_H
|
||||||
#define OPENGL32_PRIVATE_H
|
#define OPENGL32_PRIVATE_H
|
||||||
|
|
||||||
|
#define GLFUNCS_MACRO \
|
||||||
|
X(glAccum) \
|
||||||
|
X(glAddSwapHintRectWIN) \
|
||||||
|
X(glArrayElement) \
|
||||||
|
X(glBegin) \
|
||||||
|
X(glBindTexture)
|
||||||
|
|
||||||
|
enum glfunc_indices
|
||||||
|
{
|
||||||
|
GLIDX_INVALID = -1,
|
||||||
|
#define X(X) GLIDX_##X,
|
||||||
|
GLFUNCS_MACRO
|
||||||
|
#undef X
|
||||||
|
GLIDX_COUNT
|
||||||
|
};
|
||||||
|
|
||||||
|
extern const char* OPENGL32_funcnames[GLIDX_COUNT];
|
||||||
|
|
||||||
typedef
|
typedef
|
||||||
void
|
void
|
||||||
WINAPI
|
WINAPI
|
||||||
|
|
Loading…
Reference in a new issue