summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorredman <redman>1999-03-30 01:55:49 (GMT)
committerredman <redman>1999-03-30 01:55:49 (GMT)
commitd3fe9c1e7a45bbd6ab84227fdb0c8d370b4d4ccc (patch)
tree86391fd65e99ea3af18c862bec4c521ca19de311 /tools
parentbc9499ec1c4e0e70cf8fd78b066ac21bdf0606e5 (diff)
downloadtcl-d3fe9c1e7a45bbd6ab84227fdb0c8d370b4d4ccc.zip
tcl-d3fe9c1e7a45bbd6ab84227fdb0c8d370b4d4ccc.tar.gz
tcl-d3fe9c1e7a45bbd6ab84227fdb0c8d370b4d4ccc.tar.bz2
Remove the stub function definitions. Change stub macros to use
just the name of the function without any parameters (to be able to get the address of a function). Changed passing of tclStubsPtr to the interp (during Tcl_CreateInterp) to pass &tclStubs to avoid problems with duplicate symbols on Solaris.
Diffstat (limited to 'tools')
-rw-r--r--tools/genStubs.tcl5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index 2c95365..58d7596 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -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: genStubs.tcl,v 1.2.2.2 1999/03/25 23:29:19 stanton Exp $
+# RCS: @(#) $Id: genStubs.tcl,v 1.2.2.3 1999/03/30 01:55:55 redman Exp $
namespace eval genStubs {
# libraryName --
@@ -421,7 +421,7 @@ proc genStubs::makeMacro {name decl index} {
append argList ")"
}
}
- append text $argList " \\\n\t(${name}StubsPtr->$lfname)$argList"
+ append text " \\\n\t(${name}StubsPtr->$lfname)"
append text " /* $index */\n#endif\n"
return $text
}
@@ -850,7 +850,6 @@ proc genStubs::init {} {
foreach name [lsort [array names interfaces]] {
puts "Emitting $name"
emitHeader $name
- emitStubs $name
}
emitInits