summaryrefslogtreecommitdiff
path: root/Examples/ocaml/std_string
Commit message (Collapse)AuthorAgeFilesLines
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | - Examples/Makefile.in rules use SRCDIR as the relative source directory - ./config.status replicates Examples/ source directory tree in build directory, and copies each Makefile to build directory, prefixed with a header which sets SRCDIR to source directory - Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir - Examples/test-suite/errors/Makefile.in needs to filter out source directory from SWIG error messages - Lua: embedded interpreters are passed location of run-time test - Python: copy run-time scripts to build directory because of 2to3 conversion; import_packages example copies __init__.py from source directory; test-suite sets SCRIPTDIR to location of run-time tests - Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir can be substituted with SRCDIR; removed './' from require() statements so that NODE_PATH can be used to point Node.js to build directory
* Whitespace cleanup of Example MakefilesKarl Wette2014-04-161-1/+1
|
* Ocaml example makefiles tweaks for consistency with other languages. Attempt ↵William S Fulton2013-04-191-6/+7
| | | | to add runtime tests to 'make check' - untested.
* [Ocaml] Apply patch #3151788 from Joel Reymont. Brings Ocaml support a up to ↵William S Fulton2011-02-141-0/+6
| | | | | | date (ver 3.11 and 3.12), including std::string. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* force examples to use preinst-swig, as is done in the test-suiteMarcelo Matus2005-11-271-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Removed useless C_list.Art Yerkes2003-11-121-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* swigp4-ify.Art Yerkes2003-11-011-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Examples updated.Art Yerkes2003-10-251-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added info about dynamic linking to docArt Yerkes2003-02-271-0/+5
| | | | | | | | | | | Added dynamic targets to example makefiles Added ocaml_dynamic and ocaml_dynamic_cpp targets to Examples/Makefile.in Added OCAMLFIND and OCAMLDLGEN AC_SUBST lines in configure.in Currently, dynamic linking relies on ocamlfind and Gerd Stolpmann's Dl package, as well as some tricky elf linking. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added to typemaps: reference type in/outArt Yerkes2003-02-271-3/+3
| | | | | | | | | | | | | | | | Strings <=> std::string by value std::wstring accessible from Ocaml. The string example converts a multibyte japanese EUC sequence to a single wchar_t sequence if you have the ja_JP.EUC-JP locale, or similar. Better handling of reference in types Corrected problems with & * mismatch in type verifier. Type verifier now really functional. No more type errors in places they wouldn't be allowed in C++, unless you work at it. Added argout_ref example for argout_ref. Init code now effective (called from let _ = f_<module>_init ()) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fixed example makefiles and put extra -gs in the Examples Makefile.inArt Yerkes2003-02-251-5/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* std::string and std::wstring example.Art Yerkes2003-02-165-0/+106
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4324 626c5289-ae23-0410-ae9c-e8d60b6d4f22