Back to index

bamf  0.2.120
Defines | Functions
bamf-marshal.c File Reference
#include "bamf-marshal.h"
#include <glib-object.h>

Go to the source code of this file.

Defines

#define g_marshal_value_peek_boolean(v)   (v)->data[0].v_int
#define g_marshal_value_peek_char(v)   (v)->data[0].v_int
#define g_marshal_value_peek_uchar(v)   (v)->data[0].v_uint
#define g_marshal_value_peek_int(v)   (v)->data[0].v_int
#define g_marshal_value_peek_uint(v)   (v)->data[0].v_uint
#define g_marshal_value_peek_long(v)   (v)->data[0].v_long
#define g_marshal_value_peek_ulong(v)   (v)->data[0].v_ulong
#define g_marshal_value_peek_int64(v)   (v)->data[0].v_int64
#define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
#define g_marshal_value_peek_enum(v)   (v)->data[0].v_long
#define g_marshal_value_peek_flags(v)   (v)->data[0].v_ulong
#define g_marshal_value_peek_float(v)   (v)->data[0].v_float
#define g_marshal_value_peek_double(v)   (v)->data[0].v_double
#define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
#define g_marshal_value_peek_param(v)   (v)->data[0].v_pointer
#define g_marshal_value_peek_boxed(v)   (v)->data[0].v_pointer
#define g_marshal_value_peek_pointer(v)   (v)->data[0].v_pointer
#define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
#define g_marshal_value_peek_variant(v)   (v)->data[0].v_pointer

Functions

void _bamf_marshal_VOID__STRING_STRING (GClosure *closure, GValue *return_value G_GNUC_UNUSED, guint n_param_values, const GValue *param_values, gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
void _bamf_marshal_VOID__STRING_STRING_STRING (GClosure *closure, GValue *return_value G_GNUC_UNUSED, guint n_param_values, const GValue *param_values, gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
void _bamf_marshal_VOID__OBJECT_OBJECT (GClosure *closure, GValue *return_value G_GNUC_UNUSED, guint n_param_values, const GValue *param_values, gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)
void _bamf_marshal_VOID__INT_INT (GClosure *closure, GValue *return_value G_GNUC_UNUSED, guint n_param_values, const GValue *param_values, gpointer invocation_hint G_GNUC_UNUSED, gpointer marshal_data)

Define Documentation

#define g_marshal_value_peek_boolean (   v)    (v)->data[0].v_int

Definition at line 31 of file bamf-marshal.c.

#define g_marshal_value_peek_boxed (   v)    (v)->data[0].v_pointer

Definition at line 46 of file bamf-marshal.c.

#define g_marshal_value_peek_char (   v)    (v)->data[0].v_int

Definition at line 32 of file bamf-marshal.c.

#define g_marshal_value_peek_double (   v)    (v)->data[0].v_double

Definition at line 43 of file bamf-marshal.c.

#define g_marshal_value_peek_enum (   v)    (v)->data[0].v_long

Definition at line 40 of file bamf-marshal.c.

#define g_marshal_value_peek_flags (   v)    (v)->data[0].v_ulong

Definition at line 41 of file bamf-marshal.c.

#define g_marshal_value_peek_float (   v)    (v)->data[0].v_float

Definition at line 42 of file bamf-marshal.c.

#define g_marshal_value_peek_int (   v)    (v)->data[0].v_int

Definition at line 34 of file bamf-marshal.c.

#define g_marshal_value_peek_int64 (   v)    (v)->data[0].v_int64

Definition at line 38 of file bamf-marshal.c.

#define g_marshal_value_peek_long (   v)    (v)->data[0].v_long

Definition at line 36 of file bamf-marshal.c.

#define g_marshal_value_peek_object (   v)    (v)->data[0].v_pointer

Definition at line 48 of file bamf-marshal.c.

#define g_marshal_value_peek_param (   v)    (v)->data[0].v_pointer

Definition at line 45 of file bamf-marshal.c.

#define g_marshal_value_peek_pointer (   v)    (v)->data[0].v_pointer

Definition at line 47 of file bamf-marshal.c.

#define g_marshal_value_peek_string (   v)    (v)->data[0].v_pointer

Definition at line 44 of file bamf-marshal.c.

#define g_marshal_value_peek_uchar (   v)    (v)->data[0].v_uint

Definition at line 33 of file bamf-marshal.c.

#define g_marshal_value_peek_uint (   v)    (v)->data[0].v_uint

Definition at line 35 of file bamf-marshal.c.

#define g_marshal_value_peek_uint64 (   v)    (v)->data[0].v_uint64

Definition at line 39 of file bamf-marshal.c.

#define g_marshal_value_peek_ulong (   v)    (v)->data[0].v_ulong

Definition at line 37 of file bamf-marshal.c.

#define g_marshal_value_peek_variant (   v)    (v)->data[0].v_pointer

Definition at line 49 of file bamf-marshal.c.


Function Documentation

void _bamf_marshal_VOID__INT_INT ( GClosure *  closure,
GValue *return_value  G_GNUC_UNUSED,
guint  n_param_values,
const GValue *  param_values,
gpointer invocation_hint  G_GNUC_UNUSED,
gpointer  marshal_data 
)

Definition at line 168 of file bamf-marshal.c.

{
  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_marshal_value_peek_int (param_values + 1),
            g_marshal_value_peek_int (param_values + 2),
            data2);
}

Here is the caller graph for this function:

void _bamf_marshal_VOID__OBJECT_OBJECT ( GClosure *  closure,
GValue *return_value  G_GNUC_UNUSED,
guint  n_param_values,
const GValue *  param_values,
gpointer invocation_hint  G_GNUC_UNUSED,
gpointer  marshal_data 
)

Definition at line 131 of file bamf-marshal.c.

{
  typedef void (*GMarshalFunc_VOID__OBJECT_OBJECT) (gpointer     data1,
                                                    gpointer     arg_1,
                                                    gpointer     arg_2,
                                                    gpointer     data2);
  register GMarshalFunc_VOID__OBJECT_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__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);

  callback (data1,
            g_marshal_value_peek_object (param_values + 1),
            g_marshal_value_peek_object (param_values + 2),
            data2);
}

Here is the caller graph for this function:

void _bamf_marshal_VOID__STRING_STRING ( GClosure *  closure,
GValue *return_value  G_GNUC_UNUSED,
guint  n_param_values,
const GValue *  param_values,
gpointer invocation_hint  G_GNUC_UNUSED,
gpointer  marshal_data 
)

Definition at line 55 of file bamf-marshal.c.

{
  typedef void (*GMarshalFunc_VOID__STRING_STRING) (gpointer     data1,
                                                    gpointer     arg_1,
                                                    gpointer     arg_2,
                                                    gpointer     data2);
  register GMarshalFunc_VOID__STRING_STRING 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__STRING_STRING) (marshal_data ? marshal_data : cc->callback);

  callback (data1,
            g_marshal_value_peek_string (param_values + 1),
            g_marshal_value_peek_string (param_values + 2),
            data2);
}

Here is the caller graph for this function:

void _bamf_marshal_VOID__STRING_STRING_STRING ( GClosure *  closure,
GValue *return_value  G_GNUC_UNUSED,
guint  n_param_values,
const GValue *  param_values,
gpointer invocation_hint  G_GNUC_UNUSED,
gpointer  marshal_data 
)

Definition at line 92 of file bamf-marshal.c.

{
  typedef void (*GMarshalFunc_VOID__STRING_STRING_STRING) (gpointer     data1,
                                                           gpointer     arg_1,
                                                           gpointer     arg_2,
                                                           gpointer     arg_3,
                                                           gpointer     data2);
  register GMarshalFunc_VOID__STRING_STRING_STRING 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__STRING_STRING_STRING) (marshal_data ? marshal_data : cc->callback);

  callback (data1,
            g_marshal_value_peek_string (param_values + 1),
            g_marshal_value_peek_string (param_values + 2),
            g_marshal_value_peek_string (param_values + 3),
            data2);
}

Here is the caller graph for this function: