fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
20b69b4472
commit
cd22d76972
7 changed files with 26 additions and 68 deletions
|
|
@ -86,7 +86,7 @@ namespace Swig {
|
|||
|
||||
public:
|
||||
/* wrap a ocaml object, optionally taking ownership */
|
||||
Director(CAML_VALUE self, bool disown = false) : swig_self(self), swig_disown_flag(disown), swig_up( false ) {
|
||||
Director(CAML_VALUE self) : swig_self(self), swig_disown_flag(false), swig_up( false ) {
|
||||
register_global_root(&swig_self);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue