summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
diff options
context:
space:
mode:
authorandreask <andreask>2012-05-17 21:47:55 (GMT)
committerandreask <andreask>2012-05-17 21:47:55 (GMT)
commit4ebcb961515b7669f17d14bfe72d4eebd98f724f (patch)
tree1d1e5aff3b84beae7a1a01f1002b973777f8cd06 /tools/genStubs.tcl
parenta3a3198dfe08f980f9895d03c2a31a6c302c21dc (diff)
parent6e977b903ee0e35f5b799abe1c8b3c902a5b5cef (diff)
downloadtcl-4ebcb961515b7669f17d14bfe72d4eebd98f724f.zip
tcl-4ebcb961515b7669f17d14bfe72d4eebd98f724f.tar.gz
tcl-4ebcb961515b7669f17d14bfe72d4eebd98f724f.tar.bz2
Brought bugfix branch uptodate with head development.
Diffstat (limited to 'tools/genStubs.tcl')
-rw-r--r--tools/genStubs.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index 163a354..e654bf4 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -568,8 +568,8 @@ proc genStubs::makeSlot {name decl index} {
append text $rtype " *" $lfname "; /* $index */\n"
return $text
}
- if {[string range $rtype end-7 end] eq "CALLBACK"} {
- append text [string trim [string range $rtype 0 end-8]] " (CALLBACK *" $lfname ") "
+ if {[string range $rtype end-8 end] eq "__stdcall"} {
+ append text [string trim [string range $rtype 0 end-9]] " (__stdcall *" $lfname ") "
} else {
append text $rtype " (*" $lfname ") "
}