Fix std::string support for v8.
This commit is contained in:
parent
2c4a90a37d
commit
9d630ab930
3 changed files with 60 additions and 59 deletions
|
|
@ -1,12 +1,10 @@
|
|||
/* -----------------------------------------------------------------------------
|
||||
* std_string.i
|
||||
*
|
||||
* Typemaps for std::string and const std::string&
|
||||
* These are mapped to a JSCore String and are passed around by value.
|
||||
* Typemaps for const std::string&.
|
||||
* To use non-const std::string references use the following %apply:
|
||||
* %apply const std::string & {std::string &};
|
||||
*
|
||||
* To use non-const std::string references use the following %apply. Note
|
||||
* that they are passed by value.
|
||||
* %apply const std::string & {std::string &};
|
||||
* ----------------------------------------------------------------------------- */
|
||||
|
||||
%{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue