diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-15 19:28:08 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-15 19:28:08 -0200 |
commit | 3e562e090d65067ba93c451fa104db100101d77c (patch) | |
tree | 231624762aba70e4e14e2e9e0b65d4e13eb5a040 /tests/samplebinding | |
parent | dd1446c3913ec9e4f0f78317ed6e154dbf5390fd (diff) |
ProtectedVirtualDestructor must be object-type instead of value-type, because we can't
pass a object with nonpublic destructor by value.
Diffstat (limited to 'tests/samplebinding')
-rw-r--r-- | tests/samplebinding/typesystem_sample.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index f99f76e2a..63ab7f916 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -212,13 +212,13 @@ </modify-function> </value-type> - <value-type name="ProtectedVirtualDestructor"> + <object-type name="ProtectedVirtualDestructor"> <modify-function signature="create()"> <modify-argument index="return"> <define-ownership owner="target"/> </modify-argument> </modify-function> - </value-type> + </object-type> <template name="boolptr_at_end_fix_beginning"> bool __ok__; |