Repository URL to install this package:
|
Version:
1.0.2-20151008 ▾
|
Ñò
ì©Uc @ sS d d k Z d d k l Z d d k l Z d d k l Z d d d YZ d S( iÿÿÿÿNi ( t config( t utils( t dbustypest
CodeGeneratorc B s³ e Z d Z d Z d Z d Z d Z d Z d Z d Z d Z
d Z d
Z d Z
d Z d
Z d Z d Z d Z d Z d Z RS( c C s, | | _ | | _ | | _ | | _ | | _ | | _ t | d j o t i | o? | i d d | _ | i
d | _ | i d | _
qæ t i | i
d | _ t i | i d | _
n d | _ d | _
| | _ | i i i
i d d i d d i d d | _ d S( Ni t _t t .t -t /( t docbook_gent generate_objmanagert ifacest ht ct namespacet lenR t is_ugly_caset replacet uppert ns_uppert lowert ns_lowert camel_case_to_uscoret interface_prefixt namet header_guard( t selfR R R R
R R R
( ( sO /home/zelgadis/synfig-buildroot/linux64/build/share/glib-2.0/codegen/codegen.pyt __init__ s" c C s | i i d t i | i i d | i i | i i d | i i d | i i d | i i d | i i d | i i d | i i d | i i d
| i i d | i i d | i i d
t i | i | i f | i i d d S( Ns /*
* Generated by gdbus-codegen %s. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
sV #ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "%s"
#include <string.h>
s8 #ifdef G_OS_UNIX
# include <gio/gunixfdlist.h>
#endif
sb typedef struct
{
GDBusArgInfo parent_struct;
gboolean use_gvariant;
} _ExtendedGDBusArgInfo;
s typedef struct
{
GDBusMethodInfo parent_struct;
const gchar *signal_name;
gboolean pass_fdlist;
} _ExtendedGDBusMethodInfo;
sk typedef struct
{
GDBusSignalInfo parent_struct;
const gchar *signal_name;
} _ExtendedGDBusSignalInfo;
s typedef struct
{
GDBusPropertyInfo parent_struct;
const gchar *hyphen_name;
gboolean use_gvariant;
} _ExtendedGDBusPropertyInfo;
sq typedef struct
{
GDBusInterfaceInfo parent_struct;
const gchar *hyphen_name;
} _ExtendedGDBusInterfaceInfo;
s
typedef struct
{
const _ExtendedGDBusPropertyInfo *info;
guint prop_id;
GValue orig_value; /* the value before the change */
} ChangedProperty;
static void
_changed_property_free (ChangedProperty *data)
{
g_value_unset (&data->orig_value);
g_free (data);
}
s static gboolean
_g_strv_equal0 (gchar **a, gchar **b)
{
gboolean ret = FALSE;
guint n;
if (a == NULL && b == NULL)
{
ret = TRUE;
goto out;
}
if (a == NULL || b == NULL)
goto out;
if (g_strv_length (a) != g_strv_length (b))
goto out;
for (n = 0; a[n] != NULL; n++)
if (g_strcmp0 (a[n], b[n]) != 0)
goto out;
ret = TRUE;
out:
return ret;
}
s static gboolean
_g_variant_equal0 (GVariant *a, GVariant *b)
{
gboolean ret = FALSE;
if (a == NULL && b == NULL)
{
ret = TRUE;
goto out;
}
if (a == NULL || b == NULL)
goto out;
ret = g_variant_equal (a, b);
out:
return ret;
}
sh G_GNUC_UNUSED static gboolean
_g_value_equal (const GValue *a, const GValue *b)
{
gboolean ret = FALSE;
g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
switch (G_VALUE_TYPE (a))
{
case G_TYPE_BOOLEAN:
ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
break;
case G_TYPE_UCHAR:
ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
break;
case G_TYPE_INT:
ret = (g_value_get_int (a) == g_value_get_int (b));
break;
case G_TYPE_UINT:
ret = (g_value_get_uint (a) == g_value_get_uint (b));
break;
case G_TYPE_INT64:
ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
break;
case G_TYPE_UINT64:
ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
break;
case G_TYPE_DOUBLE:
{
/* Avoid -Wfloat-equal warnings by doing a direct bit compare */
gdouble da = g_value_get_double (a);
gdouble db = g_value_get_double (b);
ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
}
break;
case G_TYPE_STRING:
ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
break;
case G_TYPE_VARIANT:
ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
break;
default:
if (G_VALUE_TYPE (a) == G_TYPE_STRV)
ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
else
g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
break;
}
return ret;
}
s¨ /*
* Generated by gdbus-codegen %s. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
#ifndef __%s__
#define __%s__
s% #include <gio/gio.h>
G_BEGIN_DECLS
( R
t writeR t VERSIONR R R ( R ( ( sO /home/zelgadis/synfig-buildroot/linux64/build/share/glib-2.0/codegen/codegen.pyt generate_intro6 s" 2c
C sU xx| i D]m} | i i d | i i d | i i d | i | i i d | i i d | i | i | i f | i i d | i | i | i | i | i f | i i d | i | i | i | i f | i i d | i | i | i | i | i f | i i d | i i d | i | i i d | i | i f | i i d
| i | i f | i i d | i i d | i | i i d | i i d
h } t | i d j oç | i i d xÔ | i D]Å } t
} t i | i
d o
t } n | i d | i f } d | i } | d | i 7} | d d¡ 7} | o | d 7} n x+ | i D] } | d | i | i f 7} q~W| d 7} | | | <qñWn t | i d j o | i i d x | i D]| } | i d | i f } d | i } | d | i 7} x+ | i D] } | d | i | i f 7} q2W| d 7} | | | <qîWn t | i d j og | i i d xT | i D]E } | i d | i f } d | i i | i | i f } | | | <q¢Wn x; t | i d t i D] } | i i d | | qW| i i d | i i d | i i d | i | i i d | i i d | i | i i d! | i | i i d t | i d j o!| i i d | i i d" xê | i D]ß } t
} t i | i
d o
t } n | i o | i i d# n | i i d$ | i | i | i f | o | i i d n x1 | i D]&