aboutsummaryrefslogtreecommitdiff
path: root/Lib/typemaps/std_string_view.swg
blob: 24f57c6c00780402a7ed2b93b96f0d86d6eac294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//
// string_view
//


%include <typemaps/std_strings.swg>

%fragment("<string_view>");

namespace std
{
  %naturalvar string_view;
  class string_view;
}

%typemaps_std_string_view(std::string_view, char, SWIG_AsCharPtrAndSize, SWIG_FromCharPtrAndSize, %checkcode(STRINGVIEW));