diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2020-06-09 09:28:02 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2020-06-09 09:28:02 (GMT) |
commit | 4eded734df9d4ee1709532a90fd1882d8eb7c26d (patch) | |
tree | 0bc2555520b21a35e7a7cfc6c83883f9f0d33791 /generic/tk.h | |
parent | 1fb6130fed1e8f64c90f664714669f59fdb45782 (diff) | |
download | tk-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.h | 5 |
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, |