Created
April 23, 2011 11:17
-
-
Save jpf91/938547 to your computer and use it in GitHub Desktop.
Swig4D Bug 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%module bug; | |
//Use swig2.0 -Wall -d -d2 -c++ bug.i | |
//Then in the generated files: | |
//in Test/Test.d: | |
//"class AttachedPictureFrame : Test.Frame {" | |
//should be | |
//"class AttachedPictureFrame : Test.Test.Frame {" | |
namespace Test { | |
%feature("nspace") Frame; | |
class Frame | |
{ | |
public: | |
uint size() const; | |
}; | |
%feature("nspace") AttachedPictureFrame; | |
class AttachedPictureFrame : public Frame | |
{ | |
friend class FrameFactory; | |
public: | |
uint hello() const; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment