git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
28 lines
408 B
OpenEdge ABL
28 lines
408 B
OpenEdge ABL
%module lib_std_string
|
|
%include "std_string.i"
|
|
|
|
%inline %{
|
|
|
|
std::string test_value_in(std::string x) {
|
|
return x;
|
|
}
|
|
|
|
std::string *test_pointer_in(std::string *x) {
|
|
return x;
|
|
}
|
|
|
|
const std::string *test_const_pointer_in(const std::string *x) {
|
|
return x;
|
|
}
|
|
|
|
std::string test_reference_in(std::string &x) {
|
|
return x;
|
|
}
|
|
|
|
std::string test_const_reference_in(const std::string &x) {
|
|
return x;
|
|
}
|
|
|
|
%}
|
|
|
|
|