libgimpbase/gimpprotocol.[ch] pass "gpointer user_data" to all functions,

2002-05-16  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpprotocol.[ch]
	* libgimpbase/gimpwire.[ch]: pass "gpointer user_data" to all
	functions, which in gets turn passed to the registered reader,
	writer, and flusher funcs.

	* libgimp/gimp.c
	* libgimp/gimptile.c: pass NULL as user_data. We have only one
	pipe on the plug-in side.

	* app/plug-in/plug-in.c: pass the PlugIn as user_data. As a
	consequence, got rid of more global variables. The global
	"current_plug_in" and the plug_in_push()/pop() madness are still
	there. Will reeplace them by some less ugly hack later...

2002-05-16  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/tmpl/gimpprotocol.sgml
	* libgimpbase/tmpl/gimpwire.sgml: regenerated after API change.
This commit is contained in:
Michael Natterer
2002-05-16 17:41:38 +00:00
committed by Michael Natterer
parent 9af4c5d6d2
commit dba356d815
19 changed files with 1102 additions and 777 deletions

View File

@ -148,6 +148,7 @@ The communication protocol between GIMP and it's plug-ins.
</para>
@channel:
@user_data:
@Returns:
@ -157,6 +158,7 @@ The communication protocol between GIMP and it's plug-ins.
</para>
@channel:
@user_data:
@Returns:
@ -167,6 +169,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@config:
@user_data:
@Returns:
@ -177,6 +180,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@tile_req:
@user_data:
@Returns:
@ -186,6 +190,7 @@ The communication protocol between GIMP and it's plug-ins.
</para>
@channel:
@user_data:
@Returns:
@ -196,6 +201,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@tile_data:
@user_data:
@Returns:
@ -206,6 +212,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@proc_run:
@user_data:
@Returns:
@ -216,6 +223,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@proc_return:
@user_data:
@Returns:
@ -226,6 +234,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@proc_run:
@user_data:
@Returns:
@ -236,6 +245,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@proc_return:
@user_data:
@Returns:
@ -246,6 +256,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@proc_install:
@user_data:
@Returns:
@ -256,6 +267,7 @@ The communication protocol between GIMP and it's plug-ins.
@channel:
@proc_uninstall:
@user_data:
@Returns:
@ -265,6 +277,7 @@ The communication protocol between GIMP and it's plug-ins.
</para>
@channel:
@user_data:
@Returns:

View File

@ -32,6 +32,7 @@ it's plug-ins.
@channel:
@msg:
@user_data:
<!-- ##### USER_FUNCTION WireWriteFunc ##### -->
@ -41,6 +42,7 @@ it's plug-ins.
@channel:
@msg:
@user_data:
<!-- ##### USER_FUNCTION WireDestroyFunc ##### -->
@ -59,6 +61,7 @@ it's plug-ins.
@channel:
@buf:
@count:
@user_data:
@Returns:
@ -68,6 +71,7 @@ it's plug-ins.
</para>
@channel:
@user_data:
@Returns:
@ -114,6 +118,7 @@ it's plug-ins.
@channel:
@buf:
@count:
@user_data:
@Returns:
@ -125,6 +130,7 @@ it's plug-ins.
@channel:
@buf:
@count:
@user_data:
@Returns:
@ -134,6 +140,7 @@ it's plug-ins.
</para>
@channel:
@user_data:
@Returns:
@ -159,6 +166,7 @@ it's plug-ins.
@channel:
@msg:
@user_data:
@Returns:
@ -169,6 +177,7 @@ it's plug-ins.
@channel:
@msg:
@user_data:
@Returns:
@ -188,6 +197,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -199,6 +209,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -210,6 +221,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -221,6 +233,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -232,6 +245,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -243,6 +257,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -254,6 +269,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -265,6 +281,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -276,6 +293,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns:
@ -287,6 +305,7 @@ it's plug-ins.
@channel:
@data:
@count:
@user_data:
@Returns: