Commit Graph

3 Commits

Author SHA1 Message Date
Zackery Spytz 27f964987a [OCaml] Fix reference typemaps for std::string
Fix warnings in the extend_template_method, li_std_string, and
template_methods tests. std::string was missing a typecheck typemap.

Add extend_template_method_runme.ml, li_std_string_runme.ml, and
template_methods_runme.ml.

Add INPUT, OUTPUT and INOUT typemaps for string &

Use the INOUT typemap in the strings_test example.  In the
strings_test example, takes_and_gives_std_string() was relying on the
silly fact that an argout typemap for string & was enabled by
default.

Remove the in, out, and typecheck typemaps for string &.

Closes: #1439
2023-04-21 09:39:59 +12:00
Zackery Spytz 1be9f5fec3 [OCaml] Fix some of the OCaml examples
Update some of the OCaml examples so that they run successfully with
`make check-ocaml-examples` (important for the CI). Some of the
examples were written to depend on passed arguments.

Temporarily disable the broken std_string example.
2019-01-03 07:34:25 -07:00
Art Yerkes 3acd792de3 Strings test, tests in, out, inout string and char * types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 05:18:57 +00:00