OpenGl_cmn_varargs.hxx File Reference

#include <stdarg.h>
#include <X11/Xlib.h>
#include <GL/glx.h>

Data Structures

union  CMN_KEY_DATA_UNION
struct  CMN_KEY

Defines

#define TMaxArgs   128
#define CMN_GET_STACK(n, k)

Typedefs

typedef union CMN_KEY_DATA_UNION CMN_KEY_DATA
typedef union CMN_KEY_DATA_UNIONcmn_key_data
typedef struct CMN_KEYcmn_key

Define Documentation

#define CMN_GET_STACK ( n,
 ) 
Value:
{ \
  int i; \
  va_list ap; \
  cmn_key * args; \
  va_start (ap,n); \
  if (n>=0) { \
  for (i=0; i<n && i<TMaxArgs; i++) \
  k[i] = va_arg (ap, cmn_key); \
  } \
  else { \
  n = -n; \
  args = va_arg (ap, cmn_key *); \
  for (i=0; i<n && i<TMaxArgs; i++) \
  k[i] = args[i]; \
  } \
  va_end (ap); \
}
#define TMaxArgs   128

Typedef Documentation

typedef struct CMN_KEY * cmn_key
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:40:45 2011 for Open CASCADE Technology by  doxygen 1.6.3