summaryrefslogtreecommitdiffstats
path: root/generic/tk.h
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2020-06-09 09:28:02 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2020-06-09 09:28:02 (GMT)
commit4eded734df9d4ee1709532a90fd1882d8eb7c26d (patch)
tree0bc2555520b21a35e7a7cfc6c83883f9f0d33791 /generic/tk.h
parent1fb6130fed1e8f64c90f664714669f59fdb45782 (diff)
downloadtk-4eded734df9d4ee1709532a90fd1882d8eb7c26d.zip
tk-4eded734df9d4ee1709532a90fd1882d8eb7c26d.tar.gz
tk-4eded734df9d4ee1709532a90fd1882d8eb7c26d.tar.bz2
TIP529 image metadata: allow match functions to output metadata. implement file close.
Diffstat (limited to 'generic/tk.h')
-rw-r--r--generic/tk.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tk.h b/generic/tk.h
index 012e3ff..e8bcae4 100644
--- a/generic/tk.h
+++ b/generic/tk.h
@@ -1445,10 +1445,11 @@ typedef struct Tk_PhotoImageFormatVersion3 Tk_PhotoImageFormatVersion3;
typedef int (Tk_ImageFileMatchProcVersion3) (Tcl_Interp *interp,
Tcl_Channel chan, const char *fileName, Tcl_Obj *format,
Tcl_Obj *metadataIn, int *widthPtr, int *heightPtr,
- int *closeChannelPtr, Tcl_DString *driverInternalPtr);
+ Tcl_Obj *metadataOut, int *closeChannelPtr,
+ Tcl_DString *driverInternalPtr);
typedef int (Tk_ImageStringMatchProcVersion3) (Tcl_Interp *interp,
Tcl_Obj *dataObj, Tcl_Obj *format, Tcl_Obj *metadataIn, int *widthPtr,
- int *heightPtr, Tcl_DString *driverInternalPtr);
+ int *heightPtr, Tcl_Obj *metadataOut, Tcl_DString *driverInternalPtr);
typedef int (Tk_ImageFileReadProcVersion3) (Tcl_Interp *interp,
Tcl_Channel chan,
const char *fileName, Tcl_Obj *format, Tcl_Obj *metadataIn,