/soc/2013/ankitkv/gobjectification: f32e0ac2813e: Refactored per...
Ankit Vani
a at nevitus.org
Tue Jul 16 19:32:17 EDT 2013
Changeset: f32e0ac2813eafb780ebfa3ef2014c7a19324f83
Author: Ankit Vani <a at nevitus.org>
Date: 2013-07-17 05:02 +0530
Branch: soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/f32e0ac2813e
Description:
Refactored perl/common to use GValue instead of PurpleValue
diffstat:
libpurple/plugins/perl/common/Status.xs | 6 +++---
libpurple/plugins/perl/common/typemap | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (49 lines):
diff --git a/libpurple/plugins/perl/common/Status.xs b/libpurple/plugins/perl/common/Status.xs
--- a/libpurple/plugins/perl/common/Status.xs
+++ b/libpurple/plugins/perl/common/Status.xs
@@ -216,7 +216,7 @@ const char *
purple_status_attr_get_name(attr)
Purple::StatusAttr attr
-Purple::Value
+GValue *
purple_status_attr_get_value(attr)
Purple::StatusAttr attr
@@ -224,7 +224,7 @@ Purple::StatusAttr
purple_status_attr_new(id, name, value_type)
const char *id
const char *name
- Purple::Value value_type
+ GValue *value_type
MODULE = Purple::Status PACKAGE = Purple::Status PREFIX = purple_status_
PROTOTYPES: ENABLE
@@ -253,7 +253,7 @@ purple_status_get_attr_string(status, id
Purple::Status status
const char *id
-Purple::Value
+GValue *
purple_status_get_attr_value(status, id)
Purple::Status status
const char *id
diff --git a/libpurple/plugins/perl/common/typemap b/libpurple/plugins/perl/common/typemap
--- a/libpurple/plugins/perl/common/typemap
+++ b/libpurple/plugins/perl/common/typemap
@@ -38,6 +38,7 @@ xmlnode * T_PTR
const xmlnode * T_PTR
gssize T_IV
const void * T_PTR
+GValue * T_PTR
GType T_IV
Purple::Account T_PurpleObj
@@ -148,7 +149,6 @@ Purple::String::Format::Type T_IV
Purple::Stringref T_PurpleObj
Purple::Util::FetchUrlData T_PTR
Purple::Util::InfoFieldFormatCallback T_PTR
-Purple::Value T_PurpleObj
Purple::Xfer T_PurpleObj
Purple::XferType T_IV
More information about the Commits
mailing list