ReactOS  0.4.15-dev-2701-g34593d9
gxvfgen.c File Reference
#include <stdio.h>
#include <string.h>
Include dependency graph for gxvfgen.c:

Go to the source code of this file.

Classes

struct  GX_Feature_RegistryRec_
 

Macros

#define FEATREG_MAX_SETTING   12
 
#define APPLE_RESERVED   "Apple Reserved"
 
#define APPLE_RESERVED_LENGTH   14
 
#define EMPTYFEAT   {0, 0, {NULL}}
 

Typedefs

typedef struct GX_Feature_RegistryRec_ GX_Feature_RegistryRec
 

Functions

int main (void)
 

Variables

static GX_Feature_RegistryRec featreg_table []
 

Macro Definition Documentation

◆ APPLE_RESERVED

#define APPLE_RESERVED   "Apple Reserved"

Definition at line 85 of file gxvfgen.c.

◆ APPLE_RESERVED_LENGTH

#define APPLE_RESERVED_LENGTH   14

Definition at line 86 of file gxvfgen.c.

◆ EMPTYFEAT

#define EMPTYFEAT   {0, 0, {NULL}}

Definition at line 97 of file gxvfgen.c.

◆ FEATREG_MAX_SETTING

#define FEATREG_MAX_SETTING   12

Definition at line 66 of file gxvfgen.c.

Typedef Documentation

◆ GX_Feature_RegistryRec

Function Documentation

◆ main()

int main ( void  )

Definition at line 444 of file gxvfgen.c.

445  {
446  int i;
447 
448 
449  printf( " {\n" );
450  printf( " /* Generated from %s */\n", __FILE__ );
451 
452  for ( i = 0;
453  i < sizeof ( featreg_table ) / sizeof ( GX_Feature_RegistryRec );
454  i++ )
455  {
456  const char* feat_name;
457  int nSettings;
458 
459 
460  feat_name = featreg_table[i].feat_name;
461  for ( nSettings = 0;
462  featreg_table[i].setting_name[nSettings];
463  nSettings++)
464  ; /* Do nothing */
465 
466  printf( " {%1d, %1d, %1d, %2d}, /* %s */\n",
467  feat_name ? 1 : 0,
468  ( feat_name &&
469  ( ft_strncmp( feat_name,
471  ) ? 1 : 0,
472  featreg_table[i].exclusive ? 1 : 0,
473  nSettings,
474  feat_name ? feat_name : "__EMPTY__" );
475  }
476 
477  printf( " };\n" );
478 
479  return 0;
480  }
#define ft_strncmp
Definition: ftstdlib.h:89
#define APPLE_RESERVED
Definition: gxvfgen.c:85
#define APPLE_RESERVED_LENGTH
Definition: gxvfgen.c:86
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
static GX_Feature_RegistryRec featreg_table[]
Definition: gxvfgen.c:100
#define printf
Definition: config.h:203

Variable Documentation

◆ featreg_table

GX_Feature_RegistryRec featreg_table[]
static

Definition at line 100 of file gxvfgen.c.

Referenced by main().