Commit 4848675e authored by David Gobbi's avatar David Gobbi
Browse files

ENH: Now vtkParse.y uses vtkParseType.h, and hex literals are gone.

The hexidecimal literals in vtkParse.y have been replaced by the
constants defined in vtkParseType.h.  This improves code readability,
and also makes it easy to change the constants.  In other words, it is
now a simple task to add new type constants.  I checked the generated
wrapper .cxx and .java files to make sure they are identical to before
this change.
parent a16fa979
......@@ -13,6 +13,8 @@
=========================================================================*/
#include "vtkParseType.h"
#define MAX_ARGS 20
typedef struct _FunctionInfo
......
This diff is collapsed.
This diff is collapsed.
......@@ -17,7 +17,6 @@
#include <string.h>
#include <stdlib.h>
#include "vtkParse.h"
#include "vtkParseType.h"
int numberOfWrappedFunctions = 0;
FunctionInfo *wrappedFunctions[1000];
......
......@@ -16,7 +16,6 @@
#include <stdio.h>
#include <string.h>
#include "vtkParse.h"
#include "vtkParseType.h"
int numberOfWrappedFunctions = 0;
FunctionInfo *wrappedFunctions[1000];
......
......@@ -17,7 +17,6 @@
#include <string.h>
#include <stdlib.h>
#include "vtkParse.h"
#include "vtkParseType.h"
int numberOfWrappedFunctions = 0;
FunctionInfo *wrappedFunctions[1000];
......
......@@ -19,7 +19,6 @@
#include <string.h>
#include <ctype.h>
#include "vtkParse.h"
#include "vtkParseType.h"
#include "vtkConfigure.h"
int numberOfWrappedFunctions = 0;
......
......@@ -18,7 +18,6 @@
#include <stdlib.h>
#include <string.h>
#include "vtkParse.h"
#include "vtkParseType.h"
#include "vtkConfigure.h"
int numberOfWrappedFunctions = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment