diff options
author | Art Yerkes <ayerkes@speakeasy.net> | 2004-11-03 17:11:20 +0000 |
---|---|---|
committer | Art Yerkes <ayerkes@speakeasy.net> | 2004-11-03 17:11:20 +0000 |
commit | a71a80a97553b063977e0a50ea0489cf03ae430c (patch) | |
tree | 96c98c6b085784c77fb52b98b74f5d670519b5cc /Examples/ocaml | |
parent | b19d0dc05ebbb30c97493686f389363e0244cdeb (diff) | |
download | swig-a71a80a97553b063977e0a50ea0489cf03ae430c.tar.gz |
Removed unneeded constructor for shape class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/ocaml')
-rw-r--r-- | Examples/ocaml/shapes/example.c | 2 | ||||
-rw-r--r-- | Examples/ocaml/shapes/example.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/Examples/ocaml/shapes/example.c b/Examples/ocaml/shapes/example.c index c278eb15a..bf0fff937 100644 --- a/Examples/ocaml/shapes/example.c +++ b/Examples/ocaml/shapes/example.c @@ -2,8 +2,6 @@ #include <stdio.h> #include "example.h" -shape::shape() { } - shape::~shape() { } bool shape::cover( double x, double y ) { return false; } diff --git a/Examples/ocaml/shapes/example.h b/Examples/ocaml/shapes/example.h index 1db7ac22d..4b1644494 100644 --- a/Examples/ocaml/shapes/example.h +++ b/Examples/ocaml/shapes/example.h @@ -3,7 +3,6 @@ class shape { public: - shape(); virtual ~shape(); virtual bool cover( double x, double y ); // does this shape cover this point? }; |