summaryrefslogtreecommitdiffstats
path: root/generic/tclStrIdxTree.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-31 08:59:28 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-31 08:59:28 (GMT)
commit91189c426903448dfa31ba4983c5d3035cb351a5 (patch)
treedc374756a9260acda12b9b8afc397affcb7c3f9c /generic/tclStrIdxTree.h
parentf5d0aa6e2254e5bc7b53ad639b36ee06453c361a (diff)
downloadtcl-91189c426903448dfa31ba4983c5d3035cb351a5.zip
tcl-91189c426903448dfa31ba4983c5d3035cb351a5.tar.gz
tcl-91189c426903448dfa31ba4983c5d3035cb351a5.tar.bz2
More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, preventing a (char *) type case. No functional changes.
Diffstat (limited to 'generic/tclStrIdxTree.h')
-rw-r--r--generic/tclStrIdxTree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclStrIdxTree.h b/generic/tclStrIdxTree.h
index 9f26907..6ed5170 100644
--- a/generic/tclStrIdxTree.h
+++ b/generic/tclStrIdxTree.h
@@ -1,7 +1,7 @@
/*
* tclStrIdxTree.h --
*
- * Declarations of string index tries and other primitives currently
+ * Declarations of string index tries and other primitives currently
* back-ported from tclSE.
*
* Copyright (c) 2016 Serg G. Brester (aka sebres)
@@ -38,7 +38,7 @@ typedef struct TclStrIdx {
*
* TclUtfFindEqual, TclUtfFindEqualNC --
*
- * Find largest part of string cs in string cin (case sensitive and not).
+ * Find largest part of string cs in string cin (case sensitive and not).
*
* Results:
* Return position of UTF character in cs after last equal character.
@@ -148,13 +148,13 @@ if (1) { \
MODULE_SCOPE const char*
TclStrIdxTreeSearch(TclStrIdxTree **foundParent,
- TclStrIdx **foundItem, TclStrIdxTree *tree,
+ TclStrIdx **foundItem, TclStrIdxTree *tree,
const char *start, const char *end);
MODULE_SCOPE int TclStrIdxTreeBuildFromList(TclStrIdxTree *idxTree,
int lstc, Tcl_Obj **lstv, ClientData *values);
-MODULE_SCOPE Tcl_Obj*
+MODULE_SCOPE Tcl_Obj*
TclStrIdxTreeNewObj();
MODULE_SCOPE TclStrIdxTree*