diff options
author | joye <joye> | 2013-09-04 19:24:42 (GMT) |
---|---|---|
committer | joye <joye> | 2013-09-04 19:24:42 (GMT) |
commit | 4b38ca7df5b658d6b24afb68cf1d506055636e95 (patch) | |
tree | b2188bb0c022e94d04ec57c1f0be5eda85749dfb /src | |
parent | b0a1f1368fd9300b4208a343a524b0ab9723d315 (diff) | |
download | blt-4b38ca7df5b658d6b24afb68cf1d506055636e95.zip blt-4b38ca7df5b658d6b24afb68cf1d506055636e95.tar.gz blt-4b38ca7df5b658d6b24afb68cf1d506055636e95.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/bltParse.h | 8 | ||||
-rw-r--r-- | src/bltVector.C | 3 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/bltParse.h b/src/bltParse.h index bdb1ed6..c56f3d6 100644 --- a/src/bltParse.h +++ b/src/bltParse.h @@ -36,12 +36,12 @@ struct _ParseValue { ClientData clientData; }; -int Blt_ParseBraces(Tcl_Interp *interp, const char *string, +extern int Blt_ParseBraces(Tcl_Interp *interp, const char *string, const char **termPtr, ParseValue *pvPtr); -int Blt_ParseNestedCmd(Tcl_Interp *interp, const char *string, +extern int Blt_ParseNestedCmd(Tcl_Interp *interp, const char *string, int flags, const char **termPtr, ParseValue *pvPtr); -int Blt_ParseQuotes(Tcl_Interp *interp, const char *string, +extern int Blt_ParseQuotes(Tcl_Interp *interp, const char *string, int termChar, int flags, const char **termPtr, ParseValue * pvPtr); -void Blt_ExpandParseValue(ParseValue *pvPtr, int needed); +extern void Blt_ExpandParseValue(ParseValue *pvPtr, int needed); #endif diff --git a/src/bltVector.C b/src/bltVector.C index b876872..fa6ee88 100644 --- a/src/bltVector.C +++ b/src/bltVector.C @@ -47,6 +47,7 @@ #include "bltNsUtil.h" #include "bltSwitch.h" #include <bltMath.h> +#include <time.h> #ifndef TCL_NAMESPACE_ONLY #define TCL_NAMESPACE_ONLY TCL_GLOBAL_ONLY @@ -706,7 +707,7 @@ UnmapVariable(Vector *vPtr) Tcl_UnsetVar2(interp, vPtr->arrayName, (char *)NULL, vPtr->varFlags); if (vPtr->arrayName != NULL) { - free(vPtr->arrayName); + free((void*)(vPtr->arrayName)); vPtr->arrayName = NULL; } } |