summaryrefslogtreecommitdiffstats
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
parent25157d30417b906b70fbc56e8105543d1b94a962 (diff)
downloadtk-e72a1ff1315a2dbdb79371a1a11774718571c0e2.zip
tk-e72a1ff1315a2dbdb79371a1a11774718571c0e2.tar.gz
tk-e72a1ff1315a2dbdb79371a1a11774718571c0e2.tar.bz2
Dummy genstubs::export (from genStubs.tcl)
-rw-r--r--ChangeLog1
-rw-r--r--generic/ttk/ttkGenStubs.tcl20
2 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f16853..20a2c4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
* win/winMain.c:
* unix/tkAppInit.c: Many clean-ups in comments, so all
(tcl|tk)AppInit.c variants use the same style.
+ * generic/ttk/ttkGenStubs.tcl: Dummy genStubs::export (from genStubs.tcl)
2010-09-20 Jan Nijtmans <nijtmans@users.sf.net>
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
}