diff options
Diffstat (limited to 'src/bltVector.h')
-rw-r--r-- | src/bltVector.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/bltVector.h b/src/bltVector.h index 78eddc5..2ec03bc 100644 --- a/src/bltVector.h +++ b/src/bltVector.h @@ -82,56 +82,56 @@ typedef enum { #define Blt_VecSize(v) ((v)->arraySize) #define Blt_VecDirty(v) ((v)->dirty) -BLT_EXTERN double Blt_VecMin(Blt_Vector *vPtr); -BLT_EXTERN double Blt_VecMax(Blt_Vector *vPtr); +extern double Blt_VecMin(Blt_Vector *vPtr); +extern double Blt_VecMax(Blt_Vector *vPtr); -BLT_EXTERN Blt_VectorId Blt_AllocVectorId(Tcl_Interp *interp, +extern Blt_VectorId Blt_AllocVectorId(Tcl_Interp *interp, const char *vecName); -BLT_EXTERN void Blt_SetVectorChangedProc(Blt_VectorId clientId, +extern void Blt_SetVectorChangedProc(Blt_VectorId clientId, Blt_VectorChangedProc *proc, ClientData clientData); -BLT_EXTERN void Blt_FreeVectorId(Blt_VectorId clientId); +extern void Blt_FreeVectorId(Blt_VectorId clientId); -BLT_EXTERN int Blt_GetVectorById(Tcl_Interp *interp, Blt_VectorId clientId, +extern int Blt_GetVectorById(Tcl_Interp *interp, Blt_VectorId clientId, Blt_Vector **vecPtrPtr); -BLT_EXTERN const char *Blt_NameOfVectorId(Blt_VectorId clientId); +extern const char *Blt_NameOfVectorId(Blt_VectorId clientId); -BLT_EXTERN const char *Blt_NameOfVector(Blt_Vector *vecPtr); +extern const char *Blt_NameOfVector(Blt_Vector *vecPtr); -BLT_EXTERN int Blt_VectorNotifyPending(Blt_VectorId clientId); +extern int Blt_VectorNotifyPending(Blt_VectorId clientId); -BLT_EXTERN int Blt_CreateVector(Tcl_Interp *interp, const char *vecName, +extern int Blt_CreateVector(Tcl_Interp *interp, const char *vecName, int size, Blt_Vector ** vecPtrPtr); -BLT_EXTERN int Blt_CreateVector2(Tcl_Interp *interp, const char *vecName, +extern int Blt_CreateVector2(Tcl_Interp *interp, const char *vecName, const char *cmdName, const char *varName, int initialSize, Blt_Vector **vecPtrPtr); -BLT_EXTERN int Blt_GetVector(Tcl_Interp *interp, const char *vecName, +extern int Blt_GetVector(Tcl_Interp *interp, const char *vecName, Blt_Vector **vecPtrPtr); -BLT_EXTERN int Blt_GetVectorFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, +extern int Blt_GetVectorFromObj(Tcl_Interp *interp, Tcl_Obj *objPtr, Blt_Vector **vecPtrPtr); -BLT_EXTERN int Blt_VectorExists(Tcl_Interp *interp, const char *vecName); +extern int Blt_VectorExists(Tcl_Interp *interp, const char *vecName); -BLT_EXTERN int Blt_ResetVector(Blt_Vector *vecPtr, double *dataArr, int n, +extern int Blt_ResetVector(Blt_Vector *vecPtr, double *dataArr, int n, int arraySize, Tcl_FreeProc *freeProc); -BLT_EXTERN int Blt_ResizeVector(Blt_Vector *vecPtr, int n); +extern int Blt_ResizeVector(Blt_Vector *vecPtr, int n); -BLT_EXTERN int Blt_DeleteVectorByName(Tcl_Interp *interp, const char *vecName); +extern int Blt_DeleteVectorByName(Tcl_Interp *interp, const char *vecName); -BLT_EXTERN int Blt_DeleteVector(Blt_Vector *vecPtr); +extern int Blt_DeleteVector(Blt_Vector *vecPtr); -BLT_EXTERN int Blt_ExprVector(Tcl_Interp *interp, char *expr, +extern int Blt_ExprVector(Tcl_Interp *interp, char *expr, Blt_Vector *vecPtr); -BLT_EXTERN void Blt_InstallIndexProc(Tcl_Interp *interp, const char *indexName, +extern void Blt_InstallIndexProc(Tcl_Interp *interp, const char *indexName, Blt_VectorIndexProc * procPtr); -BLT_EXTERN int Blt_VectorExists2(Tcl_Interp *interp, const char *vecName); +extern int Blt_VectorExists2(Tcl_Interp *interp, const char *vecName); #endif /* _BLT_VECTOR_H */ |