summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-15 04:54:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-15 04:54:19 (GMT)
commit8c655b2bf352d2bf0d02e084e9447b8d0c2eb063 (patch)
treea87710d391e060d7a0af577ec69ea1143ffb9c48 /tools
parent890841e0136920f4e40839df2ac9166673002918 (diff)
parentdab1c4651b59815513d0752c623c864da65a5376 (diff)
downloadtcl-8c655b2bf352d2bf0d02e084e9447b8d0c2eb063.zip
tcl-8c655b2bf352d2bf0d02e084e9447b8d0c2eb063.tar.gz
tcl-8c655b2bf352d2bf0d02e084e9447b8d0c2eb063.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 ") "
}