summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-05-15 04:54:19 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-05-15 04:54:19 (GMT)
commit187d48df6efbb9547bc002d45d579833d8a26b9d (patch)
treea87710d391e060d7a0af577ec69ea1143ffb9c48 /tools
parentb812f5b66d458012402418df07f6194de5c196e2 (diff)
parente821c724e3c0664d2d5eb3955b68c109ff6041b0 (diff)
downloadtcl-187d48df6efbb9547bc002d45d579833d8a26b9d.zip
tcl-187d48df6efbb9547bc002d45d579833d8a26b9d.tar.gz
tcl-187d48df6efbb9547bc002d45d579833d8a26b9d.tar.bz2
Revert part of [5caa06383d] move Tcl_MacOSXOpenBundleResources and Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
Diffstat (limited to 'tools')
-rw-r--r--tools/genStubs.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index a7b463c..93a3669 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -536,8 +536,8 @@ proc genStubs::makeSlot {name decl index} {
append text $rtype " *" $lfname "; /* $index */\n"
return $text
}
- if {[string range $rtype end-7 end] == "CALLBACK"} {
- append text [string trim [string range $rtype 0 end-8]] " (CALLBACK *" $lfname ") "
+ if {[string range $rtype end-8 end] == "__stdcall"} {
+ append text [string trim [string range $rtype 0 end-9]] " (__stdcall *" $lfname ") "
} else {
append text $rtype " (*" $lfname ") "
}