summaryrefslogtreecommitdiffstats
path: root/tests/libsample/virtualmethods.h
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-05-18 11:40:04 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-05-18 15:52:23 -0300
commitb71a7511d8b76922b738c0f8102a85d27b673b8e (patch)
tree11063d50c70aaf87486e8ad5a50309dfb2d94a38 /tests/libsample/virtualmethods.h
parent960774e63afe0a9386383c71c4831fab7c42e790 (diff)
downloadshiboken-b71a7511d8b76922b738c0f8102a85d27b673b8e.tar.gz
shiboken-b71a7511d8b76922b738c0f8102a85d27b673b8e.tar.xz
shiboken-b71a7511d8b76922b738c0f8102a85d27b673b8e.zip
API fixes.
* Export enums without macro * Declare virtual destructor on all classes with virtual functions * Fix extern "C" declaration scope Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/libsample/virtualmethods.h')
-rw-r--r--tests/libsample/virtualmethods.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libsample/virtualmethods.h b/tests/libsample/virtualmethods.h
index de4149a8..02245387 100644
--- a/tests/libsample/virtualmethods.h
+++ b/tests/libsample/virtualmethods.h
@@ -46,7 +46,7 @@ class LIBSAMPLE_API VirtualMethods
{
public:
VirtualMethods(Str name = "VirtualMethods") : m_name(name) {}
- ~VirtualMethods() {}
+ virtual ~VirtualMethods() {}
virtual double virtualMethod0(Point pt, int val, Complex cpx, bool b);
double callVirtualMethod0(Point pt, int val, Complex cpx, bool b)