Rename all C++0x to C++11 and cpp0x to cpp11
This commit is contained in:
parent
173c4b3bba
commit
738cc36aab
52 changed files with 307 additions and 307 deletions
|
|
@ -1,22 +0,0 @@
|
|||
/* This testcase checks whether SWIG correctly treats the new nullptr_t
|
||||
constant introduced in C++0x.
|
||||
*/
|
||||
|
||||
%module cpp0x_null_pointer_constant
|
||||
|
||||
%feature("autodoc") A::NullPtrMethod; // Triggers conversion of nullptr to None, nil etc in target language
|
||||
%feature("compactdefaultargs") A::NullPtrMethod;
|
||||
|
||||
%inline %{
|
||||
|
||||
const int *const MyIntegerPtr = nullptr;
|
||||
|
||||
class A {
|
||||
public:
|
||||
A() : _myA(nullptr) { }
|
||||
|
||||
A *_myA;
|
||||
|
||||
void NullPtrMethod(double *ptr = nullptr) {}
|
||||
};
|
||||
%}
|
||||
Loading…
Add table
Add a link
Reference in a new issue