[perl-Glib-Object-Introspection] Fix compilation problems when NOISY is defined
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib-Object-Introspection] Fix compilation problems when NOISY is defined
- Date: Mon, 5 Jan 2015 16:43:37 +0000 (UTC)
commit 0bbb2c576db41eacc0442a850fb4e5e2c8158037
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Mon Jan 5 14:14:30 2015 +0100
Fix compilation problems when NOISY is defined
gperl-i11n-invoke-c.c | 4 ++--
gperl-i11n-invoke-perl.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gperl-i11n-invoke-c.c b/gperl-i11n-invoke-c.c
index b8509d0..54ee3e7 100644
--- a/gperl-i11n-invoke-c.c
+++ b/gperl-i11n-invoke-c.c
@@ -350,8 +350,8 @@ _prepare_c_invocation_info (GPerlI11nCInvocationInfo *iinfo,
dwarn ("C invoke: %s\n"
" n_args: %d, n_invoke_args: %d, n_given_args: %d\n"
" is_constructor: %d, is_method: %d\n",
- iinfo->is_vfunc ? g_base_info_get_name (info) : g_function_info_get_symbol (info),
- iinfo->n_args, iinfo->n_invoke_args, iinfo->n_given_args,
+ iinfo->base.is_vfunc ? g_base_info_get_name (info) : g_function_info_get_symbol (info),
+ iinfo->base.n_args, iinfo->n_invoke_args, iinfo->n_given_args,
iinfo->is_constructor, iinfo->is_method);
/* allocate enough space for all args in both the out and in lists.
diff --git a/gperl-i11n-invoke-perl.c b/gperl-i11n-invoke-perl.c
index 4eb6c33..c4b612d 100644
--- a/gperl-i11n-invoke-perl.c
+++ b/gperl-i11n-invoke-perl.c
@@ -367,7 +367,7 @@ _prepare_perl_invocation_info (GPerlI11nPerlInvocationInfo *iinfo,
GITypeInfo *length_arg_type = iinfo->base.arg_types[pos];
raw_to_arg (args[pos], &iinfo->base.aux_args[pos], length_arg_type);
dwarn (" pos %d is array length => %"G_GSIZE_FORMAT"\n",
- pos, iinfo->aux_args[pos].v_size);
+ pos, iinfo->base.aux_args[pos].v_size);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]