diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2018-05-07 07:43:00 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2018-05-07 07:43:00 (GMT) |
commit | 5f0cf291f513b75b00ea3d59842b83dc24047c1c (patch) | |
tree | ef94a987d49542ad8de8301668d1bdb02e450b13 /generic/tclInt.h | |
parent | db133f014426110646fe9631bab793e01cee6129 (diff) | |
download | tcl-5f0cf291f513b75b00ea3d59842b83dc24047c1c.zip tcl-5f0cf291f513b75b00ea3d59842b83dc24047c1c.tar.gz tcl-5f0cf291f513b75b00ea3d59842b83dc24047c1c.tar.bz2 |
Deduplicate code in INST_STR_CMP, StringCmpCmd, and StringEqualCmd.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 67f53fd..0a3285f 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3158,9 +3158,9 @@ MODULE_SCOPE void * TclStackRealloc(Tcl_Interp *interp, void *ptr, typedef int (*memCmpFn_t)(const void*, const void*, size_t); MODULE_SCOPE int TclStringCmp (Tcl_Obj *value1Ptr, Tcl_Obj *value2Ptr, - int checkEq); + int checkEq, int nocase, int reqlength); MODULE_SCOPE int TclStringCmpOpts (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], - int *reqlength, char **stringPtr, int *length2, int *nocase); + int *nocase, int *reqlength); MODULE_SCOPE int TclStringMatch(const char *str, int strLen, const char *pattern, int ptnLen, int flags); MODULE_SCOPE int TclStringMatchObj(Tcl_Obj *stringObj, |