summaryrefslogtreecommitdiffstats
path: root/src/bltVecInt.h
diff options
context:
space:
mode:
authorjoye <joye>2014-07-09 17:37:14 (GMT)
committerjoye <joye>2014-07-09 17:37:14 (GMT)
commit938aacc356d7a55e0bc43182f313caf435dac3a1 (patch)
tree7c8a2c6d23077de8a99aacf8f37e1db2e5880f9d /src/bltVecInt.h
parent9763506663a051a87b029e87cd8d5a645b64041f (diff)
downloadblt-938aacc356d7a55e0bc43182f313caf435dac3a1.zip
blt-938aacc356d7a55e0bc43182f313caf435dac3a1.tar.gz
blt-938aacc356d7a55e0bc43182f313caf435dac3a1.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltVecInt.h')
-rw-r--r--src/bltVecInt.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/bltVecInt.h b/src/bltVecInt.h
index c09cf10..5b1ae3b 100644
--- a/src/bltVecInt.h
+++ b/src/bltVecInt.h
@@ -106,16 +106,11 @@ namespace Blt {
// If you change these fields, make sure you change the definition of
// Blt_Vector in blt.h too.
double *valueArr; /* Array of values (malloc-ed) */
-
int length; /* Current number of values in the array. */
-
int size; /* Maximum number of values that can be stored
* in the value array. */
-
double min, max; /* Minimum and maximum values in the vector */
-
int dirty; /* Indicates if the vector has been updated */
-
int reserved;
/* The following fields are local to this module */
@@ -123,44 +118,31 @@ namespace Blt {
const char *name; /* The namespace-qualified name of the vector.
* It points to the hash key allocated for the
* entry in the vector hash table. */
-
VectorInterpData *dataPtr;
- Tcl_Interp* interp; /* Interpreter associated with the
- * vector */
-
+ Tcl_Interp* interp; /* Interpreter associated with the vector */
Tcl_HashEntry *hashPtr; /* If non-NULL, pointer in a hash table to
* track the vectors in use. */
-
Tcl_FreeProc *freeProc; /* Address of procedure to call to release
* storage for the value array, Optionally can
* be one of the following: TCL_STATIC,
* TCL_DYNAMIC, or TCL_VOLATILE. */
-
const char *arrayName; /* The name of the TCL array variable mapped
* to the vector (malloc'ed). If NULL,
* indicates that the vector isn't mapped to
* any variable */
-
Tcl_Namespace *nsPtr; /* Namespace context of the vector itself. */
-
int offset; /* Offset from zero of the vector's starting
* index */
-
Tcl_Command cmdToken; /* Token for vector's TCL command. */
-
- Blt_Chain chain; /* List of clients using this vector */
-
+ Chain chain; /* List of clients using this vector */
int notifyFlags; /* Notification flags. See definitions
* below */
-
int varFlags; /* Indicate if the variable is global,
* namespace, or local */
-
int freeOnUnset; /* For backward compatibility only: If
* non-zero, free the vector when its variable
* is unset. */
int flush;
-
int first, last; /* Selected region of vector. This is used
* mostly for the math routines */
} Vector;