More %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9991851584
commit
22089355d6
7 changed files with 787 additions and 710 deletions
|
|
@ -38,7 +38,15 @@ namespace Swig {
|
|||
class DirectorMethodException : public Swig::DirectorException {};
|
||||
|
||||
/* attempt to call a pure virtual method via a director method */
|
||||
class DirectorPureVirtualException : public Swig::DirectorException {};
|
||||
class DirectorPureVirtualException : public Swig::DirectorException {
|
||||
public:
|
||||
DirectorTypeMismatchException(const char* msg="") {
|
||||
}
|
||||
|
||||
static void raise(const char *msg) {
|
||||
throw DirectorPureVirtualException(msg);
|
||||
}
|
||||
};
|
||||
|
||||
/* simple thread abstraction for pthreads on win32 */
|
||||
#ifdef __THREAD__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue