From 21bcdc289ba9ece35780369a5e86a68498a6ddae Mon Sep 17 00:00:00 2001 From: Matti Airas Date: Wed, 17 Mar 2010 17:09:15 -0300 Subject: added support for pure virtual methods returning void ptrs the return statements now have correct values for pure virtual methods returning void pointers. also added a dummy test for this (can't really test it properly until the semantics of casting the python return value into a void pointer is properly defined -- if ever). --- tests/libsample/derived.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libsample/derived.h') diff --git a/tests/libsample/derived.h b/tests/libsample/derived.h index c5acb9488..e6d3f0fb3 100644 --- a/tests/libsample/derived.h +++ b/tests/libsample/derived.h @@ -61,6 +61,7 @@ public: Derived(int id = -1); virtual ~Derived(); virtual void pureVirtual(); + virtual void* pureVirtualReturningVoidPtr(); virtual void unpureVirtual(); virtual PrintFormat returnAnEnum() { return Short; } -- cgit v1.2.3