[glibmm/gmmproc-refactor] Add a small test for {OUT} and for default values.



commit 887840da05080a897bbf23df229ed5a95e2096b2
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Wed Jun 13 04:09:31 2012 +0200

    Add a small test for {OUT} and for default values.

 tools/pm/tests/libgmmm/gm/src/obj.hg |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tools/pm/tests/libgmmm/gm/src/obj.hg b/tools/pm/tests/libgmmm/gm/src/obj.hg
index af04e24..41b6ac0 100644
--- a/tools/pm/tests/libgmmm/gm/src/obj.hg
+++ b/tools/pm/tests/libgmmm/gm/src/obj.hg
@@ -67,7 +67,8 @@ public:
 
   _WRAP_METHOD(Glib::ustring get_string_t_f() const, gm_obj_get_string_t_f)
   _WRAP_METHOD(Glib::ustring get_string_t_n() const, gm_obj_get_string_t_n)
-  _WRAP_METHOD(void set_string_t_f(const Glib::ustring& string), gm_obj_set_string_t_f)
+  _WRAP_METHOD(void get_string_out(Glib::ustring& out_param{OUT}) const, gm_obj_get_string_t_f)
+  _WRAP_METHOD(void set_string_t_f(const Glib::ustring& string = "Foo"), gm_obj_set_string_t_f)
   _WRAP_METHOD(void set_string_t_n(const Glib::ustring& string), gm_obj_set_string_t_n)
 
   _WRAP_METHOD(void set_string_allow_none(const Glib::ustring& str{?}), gm_obj_set_string_allow_none)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]