mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
cosmetic fixups.
Fri Oct 12 18:40:18 2001 Tim Janik <timj@gtk.org> * cosmetic fixups.
This commit is contained in:
parent
2125a86d73
commit
a7cba8a50a
@ -1,3 +1,7 @@
|
||||
Fri Oct 12 18:40:18 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* cosmetic fixups.
|
||||
|
||||
Wed Oct 10 17:25:22 2001 Joshua N Pritikin <vishnu@pobox.com>
|
||||
|
||||
* glib-genmarshal.c gparamspecs.[ch] gtype.[ch] gvalue.h
|
||||
|
@ -1543,15 +1543,15 @@ g_param_spec_ulong (const gchar *name,
|
||||
|
||||
GParamSpec*
|
||||
g_param_spec_int64 (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
gint64 minimum,
|
||||
gint64 maximum,
|
||||
gint64 default_value,
|
||||
GParamFlags flags)
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
gint64 minimum,
|
||||
gint64 maximum,
|
||||
gint64 default_value,
|
||||
GParamFlags flags)
|
||||
{
|
||||
GParamSpecInt64 *lspec;
|
||||
|
||||
|
||||
g_return_val_if_fail (default_value >= minimum && default_value <= maximum, NULL);
|
||||
|
||||
lspec = g_param_spec_internal (G_TYPE_PARAM_INT64,
|
||||
@ -1569,17 +1569,17 @@ g_param_spec_int64 (const gchar *name,
|
||||
|
||||
GParamSpec*
|
||||
g_param_spec_uint64 (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
guint64 minimum,
|
||||
guint64 maximum,
|
||||
guint64 default_value,
|
||||
GParamFlags flags)
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
guint64 minimum,
|
||||
guint64 maximum,
|
||||
guint64 default_value,
|
||||
GParamFlags flags)
|
||||
{
|
||||
GParamSpecUInt64 *uspec;
|
||||
|
||||
|
||||
g_return_val_if_fail (default_value >= minimum && default_value <= maximum, NULL);
|
||||
|
||||
|
||||
uspec = g_param_spec_internal (G_TYPE_PARAM_UINT64,
|
||||
name,
|
||||
nick,
|
||||
|
@ -87,7 +87,7 @@ G_STMT_START { \
|
||||
_cvalue->v_long = va_arg ((var_args), glong); \
|
||||
break; \
|
||||
case G_VALUE_COLLECT_INT64: \
|
||||
_cvalue->v_int64 = va_arg ((var_args), gint64); \
|
||||
_cvalue->v_int64 = va_arg ((var_args), gint64); \
|
||||
break; \
|
||||
case G_VALUE_COLLECT_DOUBLE: \
|
||||
_cvalue->v_double = va_arg ((var_args), gdouble); \
|
||||
@ -132,7 +132,7 @@ G_STMT_START { \
|
||||
_cvalue->v_long = va_arg ((var_args), glong); \
|
||||
break; \
|
||||
case G_VALUE_COLLECT_INT64: \
|
||||
_cvalue->v_int64 = va_arg ((var_args), gint64); \
|
||||
_cvalue->v_int64 = va_arg ((var_args), gint64); \
|
||||
break; \
|
||||
case G_VALUE_COLLECT_DOUBLE: \
|
||||
_cvalue->v_double = va_arg ((var_args), gdouble); \
|
||||
|
@ -136,16 +136,16 @@ value_init_int64 (GValue *value)
|
||||
|
||||
static void
|
||||
value_copy_int64 (const GValue *src_value,
|
||||
GValue *dest_value)
|
||||
GValue *dest_value)
|
||||
{
|
||||
dest_value->data[0].v_int64 = src_value->data[0].v_int64;
|
||||
}
|
||||
|
||||
static gchar*
|
||||
value_collect_int64 (GValue *value,
|
||||
guint n_collect_values,
|
||||
GTypeCValue *collect_values,
|
||||
guint collect_flags)
|
||||
guint n_collect_values,
|
||||
GTypeCValue *collect_values,
|
||||
guint collect_flags)
|
||||
{
|
||||
value->data[0].v_int64 = collect_values[0].v_int64;
|
||||
|
||||
@ -154,9 +154,9 @@ value_collect_int64 (GValue *value,
|
||||
|
||||
static gchar*
|
||||
value_lcopy_int64 (const GValue *value,
|
||||
guint n_collect_values,
|
||||
GTypeCValue *collect_values,
|
||||
guint collect_flags)
|
||||
guint n_collect_values,
|
||||
GTypeCValue *collect_values,
|
||||
guint collect_flags)
|
||||
{
|
||||
gint64 *int64_p = collect_values[0].v_pointer;
|
||||
|
||||
@ -463,7 +463,7 @@ g_value_types_init (void) /* sync with gtype.c */
|
||||
"q", /* collect_format */
|
||||
value_collect_int64, /* collect_value */
|
||||
"p", /* lcopy_format */
|
||||
value_lcopy_int64, /* lcopy_value */
|
||||
value_lcopy_int64, /* lcopy_value */
|
||||
};
|
||||
info.value_table = &value_table;
|
||||
type = g_type_register_fundamental (G_TYPE_INT64, "gint64", &info, &finfo, 0);
|
||||
@ -668,7 +668,7 @@ g_value_get_ulong (const GValue *value)
|
||||
|
||||
void
|
||||
g_value_set_int64 (GValue *value,
|
||||
gint64 v_int64)
|
||||
gint64 v_int64)
|
||||
{
|
||||
g_return_if_fail (G_VALUE_HOLDS_INT64 (value));
|
||||
|
||||
@ -685,7 +685,7 @@ g_value_get_int64 (const GValue *value)
|
||||
|
||||
void
|
||||
g_value_set_uint64 (GValue *value,
|
||||
guint64 v_uint64)
|
||||
guint64 v_uint64)
|
||||
{
|
||||
g_return_if_fail (G_VALUE_HOLDS_UINT64 (value));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user