avoid to use SwigValueWrapper with std::string, just to keep the code cleaner and familiar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
19ab048261
commit
4855fb73ae
9 changed files with 9 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
// string
|
// string
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
%typemap(typecheck) string = char *;
|
%typemap(typecheck) string = char *;
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
// string
|
// string
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
/* Overloading check */
|
/* Overloading check */
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
/* Overloading check */
|
/* Overloading check */
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
%typemap(in) string {
|
%typemap(in) string {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
/* Overloading check */
|
/* Overloading check */
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ namespace std {
|
||||||
|
|
||||||
// Ruby wants class names to start with a capital letter
|
// Ruby wants class names to start with a capital letter
|
||||||
%rename(String) string;
|
%rename(String) string;
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
/* Overloading check */
|
/* Overloading check */
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
||||||
|
%feature("novaluewrapper") string;
|
||||||
class string;
|
class string;
|
||||||
|
|
||||||
/* Overloading check */
|
/* Overloading check */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue