summaryrefslogtreecommitdiffstats
path: root/generic/tclStrIdxTree.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-07 10:40:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-06-07 10:40:40 (GMT)
commit33602d0a11399b7c74eb826b7440905f06cbce23 (patch)
tree6a9bb7dbb219cc879d7a30d712ecbe6824fb3e94 /generic/tclStrIdxTree.c
parent4b7fc1bb117d96c423f7051befd9b2f1dd76f64e (diff)
downloadtcl-33602d0a11399b7c74eb826b7440905f06cbce23.zip
tcl-33602d0a11399b7c74eb826b7440905f06cbce23.tar.gz
tcl-33602d0a11399b7c74eb826b7440905f06cbce23.tar.bz2
Fix LookupLastTransition() for behavior when tick < compVal, undo Tcl_EvalObjEx -> TclEvalObjEx change, eliminate two inline macro's which are only used once. Eliminate many unnecessary MODULE_SCOPE declarations (duplicated with header files)
Diffstat (limited to 'generic/tclStrIdxTree.c')
-rw-r--r--generic/tclStrIdxTree.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclStrIdxTree.c b/generic/tclStrIdxTree.c
index bcaae05..83391ac 100644
--- a/generic/tclStrIdxTree.c
+++ b/generic/tclStrIdxTree.c
@@ -76,7 +76,7 @@
*----------------------------------------------------------------------
*/
-MODULE_SCOPE const char*
+const char*
TclStrIdxTreeSearch(
TclStrIdxTree **foundParent, /* Return value of found sub tree (used for tree build) */
TclStrIdx **foundItem, /* Return value of found item */
@@ -145,7 +145,7 @@ done:
return start;
}
-MODULE_SCOPE void
+void
TclStrIdxTreeFree(
TclStrIdx *tree)
{
@@ -223,7 +223,7 @@ TclStrIdxTreeAppend(
*----------------------------------------------------------------------
*/
-MODULE_SCOPE int
+int
TclStrIdxTreeBuildFromList(
TclStrIdxTree *idxTree,
int lstc,
@@ -351,7 +351,7 @@ Tcl_ObjType StrIdxTreeObjType = {
NULL /* setFromAnyProc */
};
-MODULE_SCOPE Tcl_Obj*
+Tcl_Obj*
TclStrIdxTreeNewObj()
{
Tcl_Obj *objPtr = Tcl_NewObj();
@@ -407,7 +407,7 @@ StrIdxTreeObj_UpdateStringProc(Tcl_Obj *objPtr)
objPtr->bytes = &tclEmptyString;
};
-MODULE_SCOPE TclStrIdxTree *
+TclStrIdxTree *
TclStrIdxTreeGetFromObj(Tcl_Obj *objPtr) {
/* follow links (smart pointers) */
if (objPtr->typePtr != &StrIdxTreeObjType) {
@@ -452,7 +452,7 @@ TclStrIdxTreePrint(
}
-MODULE_SCOPE int
+int
TclStrIdxTreeTestObjCmd(
ClientData clientData, Tcl_Interp *interp,
int objc, Tcl_Obj *const objv[])