
2001-11-08 Michael Natterer <mitch@gimp.org> * app/Makefile.am: build display/ before tools/. * app/devices.c: devices_check_change(): added all events which have a GdkDevice pointer. * app/gimpprogress.c: include "display-types.h" instead of "core-types.h". * app/core/Makefile.am * app/core/gimpdrawable-bucket-fill.[ch]: new files: the bucket_fill stuff taken from tools/gimpbucketfilltool.[ch]. * app/core/core-types.h: added "BucketFillMode". * app/core/gimpimage-mask-select.[ch]: cleanup. * app/core/gimpmarshal.list: added more marshallers for GimpTool's new signal signatures. * app/core/gimpmarshal.[ch]: regenerated. * app/display/Makefile.am * app/display/gimpdisplayshell-dnd.[ch] * app/display/gimpdisplayshell-layer-select.[ch]: new files: the canvas drop callbacks from gimpdisplayshell-callbacks.[ch] and the stuff formerly knows as gui/layer-select.[ch]. * app/display/gimpdisplay.h: don't include "gui/gui-types.h". * app/display/gximage.c: include "display-types.h". * app/display/gimpdisplay-foreach.c * app/display/gimpdisplayshell.[ch]: call gdsplay_delete(), don't destroy the shell widget. * app/gui/Makefile.am * app/gui/layer-select.[ch]: removed. * app/gui/gradients-commands.c: fixed "Save as POV" fprintf()s. * app/gui/preferences-dialog.c: removed the layer_select stuff because it is useless with the new preview system. * app/gui/tool-options-dialog.c: send the correct data to the close_callback. * app/gui/tools-commands.c: changed to follow the new gimp_tool_initialize() semantics (see below). Tool & canvas event handling chainsawing: * app/tools/tools-types.h: new struct GimpCoords which contains x, y, pressure, tilt etc. * app/display/gimpdisplayshell-callbacks.[ch]: added utility functions which transparently retreive the current event's GimpCoords or take it from the device directly if the event has none. Pass GimpCoords _in_image_coordinates_ to all tool functions. Most important: don't pass GdkEvents and display coordinates to tools any more. * app/tools/gimptool.[ch]: changed virtual functions to take GimpCoords, time and state separately instead of GdkEvents. * app/tools/gimpbezierselecttool.c * app/tools/gimpblendtool.c * app/tools/gimpbucketfilltool.[ch] * app/tools/gimpbycolorselecttool.c * app/tools/gimpclonetool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpconvolvetool.c * app/tools/gimpcroptool.[ch] * app/tools/gimpcurvestool.c * app/tools/gimpdodgeburntool.c * app/tools/gimpdrawtool.c * app/tools/gimpeditselectiontool.[ch] * app/tools/gimperasertool.c * app/tools/gimpfliptool.c * app/tools/gimpfreeselecttool.[ch] * app/tools/gimpfuzzyselecttool.c * app/tools/gimpinktool.c * app/tools/gimpiscissorstool.c * app/tools/gimpmagnifytool.c * app/tools/gimpmeasuretool.c * app/tools/gimpmovetool.c * app/tools/gimppainttool.c * app/tools/gimppathtool.[ch] * app/tools/gimprectselecttool.c * app/tools/gimprotatetool.c * app/tools/gimpselectiontool.[ch] * app/tools/gimpsmudgetool.c * app/tools/gimptexttool.c * app/tools/gimptransformtool.[ch] * app/tools/path_tool.[ch] * app/tools/selection_options.c: tons and tons of changes: - changed to use the new virtual function parameters. - removed zillions of gdisplay_untransform_coords(). - get the active drawable's offsets manually in many cases. (questionable, but IMHO ok because it's obvious and not simply a "TRUE" passed to some function) - reordered some functions to be consistent across tools. - some tools had to be changed to work on image coords, not display ones (esp. crop). - fixed strange rotate tool behaviour which should be backported to stable. - some stuff i came across. - indentation and other paranoia. - rounding of coordinated may be broken in some tools. - new bugs guaranteed. * app/tools/tool_manager.[ch]: new semantic of tool_manager_initialize_active() (looked at the places where it was used from and put common code together). Should be a bit better now :) * app/tools/gimpblendtool.c * app/tools/transform_options.c: use the new GTK+ feature that a widget (toggle button) can be a frame's title for this tools' tool options. * app/widgets/widgets-types.h: stuff. * themes/Default/gtkrc: s/GtkDialog/GimpDialog/. * tools/pdbgen/Makefile.am: don't scan tools/gimpbucketfilltool.h any more. * tools/pdbgen/enums.pl: regenerated. * tools/pdbgen/pdb/tools.pdb: changed bucket_fill wrapper. * app/pdb/tools_cmds.c: regenerated.
1172 lines
44 KiB
C
1172 lines
44 KiB
C
#include <glib.h>
|
|
#include <glib-object.h>
|
|
#include "gimpmarshal.h"
|
|
|
|
|
|
/* BOOLEAN:OBJECT (./gimpmarshal.list:25) */
|
|
void
|
|
gimp_cclosure_marshal_BOOLEAN__OBJECT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gboolean (*GMarshalFunc_BOOLEAN__OBJECT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_BOOLEAN__OBJECT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gboolean v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_BOOLEAN__OBJECT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_object (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_boolean (return_value, v_return);
|
|
}
|
|
|
|
/* BOOLEAN:POINTER (./gimpmarshal.list:26) */
|
|
void
|
|
gimp_cclosure_marshal_BOOLEAN__POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_BOOLEAN__POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gboolean v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_BOOLEAN__POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_boolean (return_value, v_return);
|
|
}
|
|
|
|
/* BOOLEAN:VOID (./gimpmarshal.list:27) */
|
|
void
|
|
gimp_cclosure_marshal_BOOLEAN__VOID (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gboolean (*GMarshalFunc_BOOLEAN__VOID) (gpointer data1,
|
|
gpointer data2);
|
|
register GMarshalFunc_BOOLEAN__VOID callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gboolean v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 1);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_BOOLEAN__VOID) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
data2);
|
|
|
|
g_value_set_boolean (return_value, v_return);
|
|
}
|
|
|
|
/* INT:OBJECT (./gimpmarshal.list:29) */
|
|
void
|
|
gimp_cclosure_marshal_INT__OBJECT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gint (*GMarshalFunc_INT__OBJECT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_INT__OBJECT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gint v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_INT__OBJECT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_object (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_int (return_value, v_return);
|
|
}
|
|
|
|
/* INT:POINTER (./gimpmarshal.list:30) */
|
|
void
|
|
gimp_cclosure_marshal_INT__POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gint (*GMarshalFunc_INT__POINTER) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_INT__POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gint v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_INT__POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_int (return_value, v_return);
|
|
}
|
|
|
|
/* OBJECT:INT (./gimpmarshal.list:32) */
|
|
void
|
|
gimp_cclosure_marshal_OBJECT__INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef GObject* (*GMarshalFunc_OBJECT__INT) (gpointer data1,
|
|
gint arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_OBJECT__INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
GObject* v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_OBJECT__INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_object (return_value, v_return);
|
|
if (NULL != (v_return))
|
|
g_object_unref (v_return);
|
|
}
|
|
|
|
/* OBJECT:POINTER (./gimpmarshal.list:33) */
|
|
void
|
|
gimp_cclosure_marshal_OBJECT__POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef GObject* (*GMarshalFunc_OBJECT__POINTER) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_OBJECT__POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
GObject* v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_OBJECT__POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_object (return_value, v_return);
|
|
if (NULL != (v_return))
|
|
g_object_unref (v_return);
|
|
}
|
|
|
|
/* POINTER:INT (./gimpmarshal.list:35) */
|
|
void
|
|
gimp_cclosure_marshal_POINTER__INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gpointer (*GMarshalFunc_POINTER__INT) (gpointer data1,
|
|
gint arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_POINTER__INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gpointer v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_POINTER__INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_pointer (return_value, v_return);
|
|
}
|
|
|
|
/* POINTER:INT,INT (./gimpmarshal.list:36) */
|
|
void
|
|
gimp_cclosure_marshal_POINTER__INT_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gpointer (*GMarshalFunc_POINTER__INT_INT) (gpointer data1,
|
|
gint arg_1,
|
|
gint arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_POINTER__INT_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gpointer v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_POINTER__INT_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
data2);
|
|
|
|
g_value_set_pointer (return_value, v_return);
|
|
}
|
|
|
|
/* POINTER:OBJECT,INT (./gimpmarshal.list:37) */
|
|
void
|
|
gimp_cclosure_marshal_POINTER__OBJECT_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gpointer (*GMarshalFunc_POINTER__OBJECT_INT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gint arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_POINTER__OBJECT_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gpointer v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_POINTER__OBJECT_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_object (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
data2);
|
|
|
|
g_value_set_pointer (return_value, v_return);
|
|
}
|
|
|
|
/* POINTER:POINTER (./gimpmarshal.list:38) */
|
|
void
|
|
gimp_cclosure_marshal_POINTER__POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gpointer (*GMarshalFunc_POINTER__POINTER) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_POINTER__POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gpointer v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_POINTER__POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
data2);
|
|
|
|
g_value_set_pointer (return_value, v_return);
|
|
}
|
|
|
|
/* POINTER:POINTER,INT (./gimpmarshal.list:39) */
|
|
void
|
|
gimp_cclosure_marshal_POINTER__POINTER_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gpointer (*GMarshalFunc_POINTER__POINTER_INT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gint arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_POINTER__POINTER_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gpointer v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_POINTER__POINTER_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
data2);
|
|
|
|
g_value_set_pointer (return_value, v_return);
|
|
}
|
|
|
|
/* POINTER:POINTER,INT,INT (./gimpmarshal.list:40) */
|
|
void
|
|
gimp_cclosure_marshal_POINTER__POINTER_INT_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gpointer (*GMarshalFunc_POINTER__POINTER_INT_INT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gint arg_2,
|
|
gint arg_3,
|
|
gpointer data2);
|
|
register GMarshalFunc_POINTER__POINTER_INT_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gpointer v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 4);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_POINTER__POINTER_INT_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
g_value_get_int (param_values + 3),
|
|
data2);
|
|
|
|
g_value_set_pointer (return_value, v_return);
|
|
}
|
|
|
|
/* POINTER:VOID (./gimpmarshal.list:41) */
|
|
void
|
|
gimp_cclosure_marshal_POINTER__VOID (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef gpointer (*GMarshalFunc_POINTER__VOID) (gpointer data1,
|
|
gpointer data2);
|
|
register GMarshalFunc_POINTER__VOID callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
gpointer v_return;
|
|
|
|
g_return_if_fail (return_value != NULL);
|
|
g_return_if_fail (n_param_values == 1);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_POINTER__VOID) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
v_return = callback (data1,
|
|
data2);
|
|
|
|
g_value_set_pointer (return_value, v_return);
|
|
}
|
|
|
|
/* VOID:DOUBLE (./gimpmarshal.list:43) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__DOUBLE) (gpointer data1,
|
|
gdouble arg_1,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__DOUBLE callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 2);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__DOUBLE) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_double (param_values + 1),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:INT,BOOLEAN,INT,OBJECT (./gimpmarshal.list:44) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__INT_BOOLEAN_INT_OBJECT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__INT_BOOLEAN_INT_OBJECT) (gpointer data1,
|
|
gint arg_1,
|
|
gboolean arg_2,
|
|
gint arg_3,
|
|
gpointer arg_4,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__INT_BOOLEAN_INT_OBJECT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 5);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__INT_BOOLEAN_INT_OBJECT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_boolean (param_values + 2),
|
|
g_value_get_int (param_values + 3),
|
|
g_value_get_object (param_values + 4),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:INT,INT (./gimpmarshal.list:45) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__INT_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__INT_INT) (gpointer data1,
|
|
gint arg_1,
|
|
gint arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__INT_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:INT,INT,INT (./gimpmarshal.list:46) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__INT_INT_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__INT_INT_INT) (gpointer data1,
|
|
gint arg_1,
|
|
gint arg_2,
|
|
gint arg_3,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__INT_INT_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 4);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__INT_INT_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
g_value_get_int (param_values + 3),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:INT,INT,INT,INT (./gimpmarshal.list:47) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__INT_INT_INT_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__INT_INT_INT_INT) (gpointer data1,
|
|
gint arg_1,
|
|
gint arg_2,
|
|
gint arg_3,
|
|
gint arg_4,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__INT_INT_INT_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 5);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__INT_INT_INT_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
g_value_get_int (param_values + 3),
|
|
g_value_get_int (param_values + 4),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:INT,OBJECT (./gimpmarshal.list:48) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__INT_OBJECT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__INT_OBJECT) (gpointer data1,
|
|
gint arg_1,
|
|
gpointer arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__INT_OBJECT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__INT_OBJECT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_object (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:INT,POINTER (./gimpmarshal.list:49) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__INT_POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__INT_POINTER) (gpointer data1,
|
|
gint arg_1,
|
|
gpointer arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__INT_POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__INT_POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_pointer (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:INT,POINTER,POINTER (./gimpmarshal.list:50) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__INT_POINTER_POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__INT_POINTER_POINTER) (gpointer data1,
|
|
gint arg_1,
|
|
gpointer arg_2,
|
|
gpointer arg_3,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__INT_POINTER_POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 4);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__INT_POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_int (param_values + 1),
|
|
g_value_get_pointer (param_values + 2),
|
|
g_value_get_pointer (param_values + 3),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:OBJECT,INT (./gimpmarshal.list:51) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__OBJECT_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__OBJECT_INT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gint arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__OBJECT_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__OBJECT_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_object (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:OBJECT,INT,POINTER (./gimpmarshal.list:52) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__OBJECT_INT_POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__OBJECT_INT_POINTER) (gpointer data1,
|
|
gpointer arg_1,
|
|
gint arg_2,
|
|
gpointer arg_3,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__OBJECT_INT_POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 4);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__OBJECT_INT_POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_object (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
g_value_get_pointer (param_values + 3),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:OBJECT,POINTER (./gimpmarshal.list:53) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__OBJECT_POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__OBJECT_POINTER) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__OBJECT_POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__OBJECT_POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_object (param_values + 1),
|
|
g_value_get_pointer (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:POINTER,INT (./gimpmarshal.list:54) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__POINTER_INT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__POINTER_INT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gint arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__POINTER_INT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__POINTER_INT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:POINTER,INT,OBJECT (./gimpmarshal.list:55) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__POINTER_INT_OBJECT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__POINTER_INT_OBJECT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gint arg_2,
|
|
gpointer arg_3,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__POINTER_INT_OBJECT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 4);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__POINTER_INT_OBJECT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
g_value_get_int (param_values + 2),
|
|
g_value_get_object (param_values + 3),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:POINTER,OBJECT (./gimpmarshal.list:56) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__POINTER_OBJECT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__POINTER_OBJECT) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__POINTER_OBJECT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__POINTER_OBJECT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
g_value_get_object (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:POINTER,POINTER (./gimpmarshal.list:57) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__POINTER_POINTER (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__POINTER_POINTER) (gpointer data1,
|
|
gpointer arg_1,
|
|
gpointer arg_2,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__POINTER_POINTER callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 3);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__POINTER_POINTER) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
g_value_get_pointer (param_values + 2),
|
|
data2);
|
|
}
|
|
|
|
/* VOID:POINTER,UINT,INT,OBJECT (./gimpmarshal.list:58) */
|
|
void
|
|
gimp_cclosure_marshal_VOID__POINTER_UINT_INT_OBJECT (GClosure *closure,
|
|
GValue *return_value,
|
|
guint n_param_values,
|
|
const GValue *param_values,
|
|
gpointer invocation_hint,
|
|
gpointer marshal_data)
|
|
{
|
|
typedef void (*GMarshalFunc_VOID__POINTER_UINT_INT_OBJECT) (gpointer data1,
|
|
gpointer arg_1,
|
|
guint arg_2,
|
|
gint arg_3,
|
|
gpointer arg_4,
|
|
gpointer data2);
|
|
register GMarshalFunc_VOID__POINTER_UINT_INT_OBJECT callback;
|
|
register GCClosure *cc = (GCClosure*) closure;
|
|
register gpointer data1, data2;
|
|
|
|
g_return_if_fail (n_param_values == 5);
|
|
|
|
if (G_CCLOSURE_SWAP_DATA (closure))
|
|
{
|
|
data1 = closure->data;
|
|
data2 = g_value_peek_pointer (param_values + 0);
|
|
}
|
|
else
|
|
{
|
|
data1 = g_value_peek_pointer (param_values + 0);
|
|
data2 = closure->data;
|
|
}
|
|
callback = (GMarshalFunc_VOID__POINTER_UINT_INT_OBJECT) (marshal_data ? marshal_data : cc->callback);
|
|
|
|
callback (data1,
|
|
g_value_get_pointer (param_values + 1),
|
|
g_value_get_uint (param_values + 2),
|
|
g_value_get_int (param_values + 3),
|
|
g_value_get_object (param_values + 4),
|
|
data2);
|
|
}
|
|
|