@@ -79,18 +79,20 @@ typedef struct Tcl_Interp Tcl_Interp;
7979typedef struct Tcl_Command_ * Tcl_Command ;
8080typedef void * ClientData ;
8181
82- typedef int (Tcl_CmdProc ) ( ClientData clientData , Tcl_Interp
83- * interp , int argc , const char * argv []);
84- typedef void (Tcl_CmdDeleteProc ) (ClientData clientData );
82+ typedef int (Tcl_CmdProc )(
83+ ClientData clientData , Tcl_Interp * interp , int argc , const char * argv []);
84+ typedef void (Tcl_CmdDeleteProc )(ClientData clientData );
8585
8686/* Typedefs derived from function signatures in Tcl header */
8787/* Tcl_CreateCommand */
88- typedef Tcl_Command (* Tcl_CreateCommand_t )(Tcl_Interp * interp ,
89- const char * cmdName , Tcl_CmdProc * proc ,
90- ClientData clientData ,
91- Tcl_CmdDeleteProc * deleteProc );
88+ typedef Tcl_Command (* Tcl_CreateCommand_t )(
89+ Tcl_Interp * interp ,
90+ const char * cmdName ,
91+ Tcl_CmdProc * proc ,
92+ ClientData clientData ,
93+ Tcl_CmdDeleteProc * deleteProc );
9294/* Tcl_AppendResult */
93- typedef void (* Tcl_AppendResult_t ) (Tcl_Interp * interp , ...);
95+ typedef void (* Tcl_AppendResult_t )(Tcl_Interp * interp , ...);
9496
9597/* Tk header excerpts */
9698
@@ -107,8 +109,7 @@ typedef struct Tk_Window_ *Tk_Window;
107109
108110typedef void * Tk_PhotoHandle ;
109111
110- typedef struct Tk_PhotoImageBlock
111- {
112+ typedef struct Tk_PhotoImageBlock {
112113 unsigned char * pixelPtr ;
113114 int width ;
114115 int height ;
@@ -119,23 +120,30 @@ typedef struct Tk_PhotoImageBlock
119120
120121/* Typedefs derived from function signatures in Tk header */
121122/* Tk_PhotoPutBlock for Tk <= 8.4 */
122- typedef void (* Tk_PhotoPutBlock_84_t ) (Tk_PhotoHandle handle ,
123- Tk_PhotoImageBlock * blockPtr , int x , int y ,
124- int width , int height , int compRule );
123+ typedef void (* Tk_PhotoPutBlock_84_t )(
124+ Tk_PhotoHandle handle ,
125+ Tk_PhotoImageBlock * blockPtr ,
126+ int x ,
127+ int y ,
128+ int width ,
129+ int height ,
130+ int compRule );
125131/* Tk_PhotoPutBlock for Tk >= 8.5 */
126- typedef int (* Tk_PhotoPutBlock_85_t ) (Tcl_Interp * interp ,
127- Tk_PhotoHandle handle ,
128- Tk_PhotoImageBlock * blockPtr , int x , int y ,
129- int width , int height , int compRule );
132+ typedef int (* Tk_PhotoPutBlock_85_t )(
133+ Tcl_Interp * interp ,
134+ Tk_PhotoHandle handle ,
135+ Tk_PhotoImageBlock * blockPtr ,
136+ int x ,
137+ int y ,
138+ int width ,
139+ int height ,
140+ int compRule );
130141/* Tk_PhotoSetSize for Tk <= 8.4 */
131- typedef void (* Tk_PhotoSetSize_84_t ) (Tk_PhotoHandle handle ,
132- int width , int height );
142+ typedef void (* Tk_PhotoSetSize_84_t )(Tk_PhotoHandle handle , int width , int height );
133143/* Tk_FindPhoto */
134- typedef Tk_PhotoHandle (* Tk_FindPhoto_t ) (Tcl_Interp * interp ,
135- const char * imageName );
144+ typedef Tk_PhotoHandle (* Tk_FindPhoto_t )(Tcl_Interp * interp , const char * imageName );
136145/* Tk_PhotoGetImage */
137- typedef int (* Tk_PhotoGetImage_t ) (Tk_PhotoHandle handle ,
138- Tk_PhotoImageBlock * blockPtr );
146+ typedef int (* Tk_PhotoGetImage_t )(Tk_PhotoHandle handle , Tk_PhotoImageBlock * blockPtr );
139147
140148/*
141149 * end block for C++
0 commit comments