blob: 691bf2ccf68dd95303e9c23e17acf10dd14c41c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//
// String
//
#ifndef SWIG_STD_BASIC_STRING
#define SWIG_STD_STRING
%include <typemaps/std_strings.swg>
%{
#include <string>
%}
namespace std
{
%naturalvar string;
class string;
}
%typemaps_std_string(std::string, char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, %checkcode(STDSTRING));
#else
%include <std/std_string.i>
#endif
|