diff options
author | nijtmans <nijtmans> | 2010-08-31 20:48:16 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-08-31 20:48:16 (GMT) |
commit | c7a29d8a5192bc554c5019ba53d8041aa12eb963 (patch) | |
tree | c5dcdf908c44f77ddfcc3bd0b202a6614a1b9d7a /generic/tclDecls.h | |
parent | f97a6571a6db13315c2b0767b1d178cd3330c4c3 (diff) | |
download | tcl-c7a29d8a5192bc554c5019ba53d8041aa12eb963.zip tcl-c7a29d8a5192bc554c5019ba53d8041aa12eb963.tar.gz tcl-c7a29d8a5192bc554c5019ba53d8041aa12eb963.tar.bz2 |
[Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part.
Typo in rules.vc
Diffstat (limited to 'generic/tclDecls.h')
-rw-r--r-- | generic/tclDecls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclDecls.h b/generic/tclDecls.h index b993e38..3922548 100644 --- a/generic/tclDecls.h +++ b/generic/tclDecls.h @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclDecls.h,v 1.184 2010/08/30 13:49:28 nijtmans Exp $ + * RCS: @(#) $Id: tclDecls.h,v 1.185 2010/08/31 20:48:17 nijtmans Exp $ */ #ifndef _TCLDECLS @@ -40,7 +40,7 @@ /* 0 */ EXTERN int Tcl_PkgProvideEx(Tcl_Interp *interp, const char *name, const char *version, - ClientData clientData); + const void *clientData); /* 1 */ EXTERN CONST84_RETURN char * Tcl_PkgRequireEx(Tcl_Interp *interp, const char *name, const char *version, @@ -1820,7 +1820,7 @@ typedef struct TclStubs { int magic; const struct TclStubHooks *hooks; - int (*tcl_PkgProvideEx) (Tcl_Interp *interp, const char *name, const char *version, ClientData clientData); /* 0 */ + int (*tcl_PkgProvideEx) (Tcl_Interp *interp, const char *name, const char *version, const void *clientData); /* 0 */ CONST84_RETURN char * (*tcl_PkgRequireEx) (Tcl_Interp *interp, const char *name, const char *version, int exact, void *clientDataPtr); /* 1 */ void (*tcl_Panic) (const char *format, ...); /* 2 */ char * (*tcl_Alloc) (unsigned int size); /* 3 */ |