more fixes for %copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
faf33e0bd8
commit
82ec7cd7e5
3 changed files with 6 additions and 0 deletions
|
|
@ -211,6 +211,8 @@ namespace a
|
|||
%}
|
||||
|
||||
#pragma SWIG nowarn=SWIGWARN_PARSE_NESTED_CLASS
|
||||
// %copyctor doesn't work with nested class workaround
|
||||
%nocopyctor;
|
||||
|
||||
%inline %{
|
||||
class Ala {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
%module kwargs
|
||||
|
||||
%nocopyctor;
|
||||
%kwargs;
|
||||
|
||||
%rename(myDel) del;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
%module typemap_various
|
||||
|
||||
// %copyctor need to be disables since 'const SWIGTYPE &' generates errors
|
||||
%nocopyctor;
|
||||
|
||||
%typemap(in) SWIGTYPE "_this_will_not_compile_SWIGTYPE_"
|
||||
%typemap(in) const SWIGTYPE & "_this_will_not_compile_const_SWIGTYPE_REF_"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue