Commit e1aaf4a4 authored by Martin Pitt's avatar Martin Pitt
Browse files

Test caller-allocated GValue out parameter

This came up as a side issue in
https://bugzilla.gnome.org/show_bug.cgi?id=653151
parent edc17e70
......@@ -1039,6 +1039,9 @@ class TestGValue(unittest.TestCase):
def test_gvalue_out(self):
self.assertEqual(42, GIMarshallingTests.gvalue_out())
def test_gvalue_out_caller_allocates(self):
self.assertEqual(42, GIMarshallingTests.gvalue_out_caller_allocates())
def test_gvalue_inout(self):
self.assertEqual('42', GIMarshallingTests.gvalue_inout(42))
value = GObject.Value()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment