summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-23 11:50:46 (GMT)
committernijtmans <nijtmans>2010-09-23 11:50:46 (GMT)
commite72a1ff1315a2dbdb79371a1a11774718571c0e2 (patch)
tree444f43269a5ad40a50a78bf5533f637a73bd24ad /generic/ttk
parent25157d30417b906b70fbc56e8105543d1b94a962 (diff)
downloadtk-e72a1ff1315a2dbdb79371a1a11774718571c0e2.zip
tk-e72a1ff1315a2dbdb79371a1a11774718571c0e2.tar.gz
tk-e72a1ff1315a2dbdb79371a1a11774718571c0e2.tar.bz2
Dummy genstubs::export (from genStubs.tcl)
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkGenStubs.tcl20
1 files changed, 19 insertions, 1 deletions
diff --git a/generic/ttk/ttkGenStubs.tcl b/generic/ttk/ttkGenStubs.tcl
index a96f815..a11ca8a 100644
--- a/generic/ttk/ttkGenStubs.tcl
+++ b/generic/ttk/ttkGenStubs.tcl
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: ttkGenStubs.tcl,v 1.10 2010/09/20 21:18:23 nijtmans Exp $
+# RCS: @(#) $Id: ttkGenStubs.tcl,v 1.11 2010/09/23 11:50:46 nijtmans Exp $
#
# SOURCE: tcl/tools/genStubs.tcl, revision 1.44
#
@@ -211,7 +211,25 @@ proc genStubs::declare {args} {
if {$index > $stubs($curName,lastNum)} {
set stubs($curName,lastNum) $index
}
+ return
+}
+
+# genStubs::export --
+#
+# This function is used in the declarations file to declare a symbol
+# that is exported from the library but is not in the stubs table.
+#
+# Arguments:
+# decl The C function declaration, or {} for an undefined
+# entry.
+#
+# Results:
+# None.
+proc genStubs::export {args} {
+ if {[llength $args] != 1} {
+ puts stderr "wrong # args: export $args"
+ }
return
}