aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-01-15 19:28:08 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-01-15 19:28:08 -0200
commit3e562e090d65067ba93c451fa104db100101d77c (patch)
tree231624762aba70e4e14e2e9e0b65d4e13eb5a040 /tests/samplebinding
parentdd1446c3913ec9e4f0f78317ed6e154dbf5390fd (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.xml4
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__;