summaryrefslogtreecommitdiff
path: root/Examples/test-suite/clientdata_prop_b.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2009-08-18 20:56:02 +0000
committerLorry <lorry@roadtrain.codethink.co.uk>2012-09-25 16:59:08 +0000
commit9f8a09ed743cedd9547bf0661d518647966ab114 (patch)
tree9c7803d3b27a8ec22e91792ac7f7932efa128b20 /Examples/test-suite/clientdata_prop_b.h
downloadswig-tarball-master.tar.gz
Imported from /srv/lorry/lorry-area/swig-tarball/swig-1.3.40.tar.gz.HEADswig-1.3.40master
Diffstat (limited to 'Examples/test-suite/clientdata_prop_b.h')
-rw-r--r--Examples/test-suite/clientdata_prop_b.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/Examples/test-suite/clientdata_prop_b.h b/Examples/test-suite/clientdata_prop_b.h
new file mode 100644
index 0000000..f8a709e
--- /dev/null
+++ b/Examples/test-suite/clientdata_prop_b.h
@@ -0,0 +1,38 @@
+#include "clientdata_prop_a.h"
+
+typedef tA t2A;
+typedef A t3A;
+
+class B : public A
+{
+ public:
+ void fB() {}
+};
+
+class C : public tA
+{
+ public:
+ void fC() {}
+};
+
+class D : public t2A
+{
+ public:
+ void fD() {}
+};
+
+typedef D tD;
+typedef tD t2D;
+
+void test_t2A(t2A *a) {}
+void test_t3A(t3A *a) {}
+void test_B(B *b) {}
+void test_C(C *c) {}
+void test_D(D *d) {}
+void test_tD(tD *d) {}
+void test_t2D(t2D *d) {}
+
+t2A *new_t2A() { return new t2A(); }
+t3A *new_t3A() { return new t3A(); }
+tD * new_tD () { return new tD (); }
+t2D *new_t2D() { return new t2D(); }