summaryrefslogtreecommitdiff
path: root/Examples/guile
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant NULL checks before free()/delete (#2184)Olly Betts2022-01-291-1/+1
| | | | | | | | | Remove redundant NULL checks before free()/delete The ISO C and C++ standards guarantee that it's safe to call these on a NULL pointer, so it's not necessary for the calling code to also check. Fixes https://sourceforge.net/p/swig/feature-requests/70/
* Fix guile examples for C11 and later conformanceWilliam S Fulton2021-11-151-1/+5
|
* Alphabetise testing of examplesWilliam S Fulton2020-08-131-4/+4
|
* Remove use of std::bind2nd which is removed in C++17William S Fulton2019-06-271-3/+2
|
* Standardise Guile simple exampleWilliam S Fulton2019-02-093-35/+26
| | | | Changes so that it works the same as other language modules
* Misc. typosluz.paz2018-05-172-3/+3
| | | found via `codespell` and `grep`
* Remove shebang from non executable fileWilliam S Fulton2017-01-271-3/+0
| | | | [skip ci]
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-218-20/+40
| | | | | | | | | | | | | Complete the prototype removal in ca1431. The script prevents SWIGTOOL=gdb from working as gdb can't be used to debug a shell script, it requires a binary. Add support for SWIGTOOL in all the examples. SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles. See issue #473.
* Guile gitignore and consistent naming in examplesWilliam S Fulton2015-04-264-4/+4
| | | | | Use my-guile for the executable for all the augmented examples Fix gitignore for Guile
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-118-28/+28
| | | | | | | | | | | | | | | | | | | | | | | - 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
* More cleaning up of the class examplesOlly Betts2014-05-051-5/+5
|
* Remove execute permissions from various non-executable filesKarl Wette2014-05-021-0/+0
| | | | | | - source files and Makefiles need never be executable - scripts are run directly by their interpreters in the test suites, so also do not need to be executable
* Whitespace cleanup of Example MakefilesKarl Wette2014-04-161-1/+1
|
* Further cleaning up of class examplesOlly Betts2014-02-241-9/+9
|
* Add missing executable bitWilliam S Fulton2014-02-221-0/+0
|
* Remove executable bit from various test-suite runme filesOlly Betts2014-01-061-0/+0
|
* Guile port example fix for Guile 2.0William S Fulton2013-05-231-2/+3
| | | | | | | Rewinding the file before passing it to C fixed the problem of not being able to read the file contents. Also explain the error about writing to a string.
* Guile port example - print a message to show the error is expectedGeert Janssens2013-05-211-0/+2
|
* Cosmetic makefile tidy upWilliam S Fulton2013-05-151-1/+0
|
* Guile delete Example makefileGeert Janssens2013-05-151-47/+0
|
* Guile add two more examples and use load-extension instead of dynamic-loadGeert Janssens2013-05-135-5/+52
|
* Guile create functional class exampleGeert Janssens2013-05-131-1/+55
|
* Guile fix matrix exampleGeert Janssens2013-05-101-1/+1
| | | | | Got broken in commit dd36f28ac7b28ecb78736894796bdcab9d945e07 (Migrate Guile examples build into common Examples makefile)
* Add skeleton for run test for Guile class exampleWilliam S Fulton2013-05-092-1/+7
|
* Guile port example Makefile correctionWilliam S Fulton2013-05-091-1/+1
|
* Migrate Guile examples build into common Examples makefileWilliam S Fulton2013-05-096-97/+35
| | | | | | | - Now Guile examples are built in a consistent way to other target languages. - Also set GUILE_AUTO_COMPILE=0 to remove auto-compilation is enabled warnings
* Guile examples consistency changesWilliam S Fulton2013-05-0920-47/+24
| | | | | | | | | | | Use new guile_embedded_run target or guile_run target for running the examples like the other target languages (for suppressing stdout if run from top level). Consistency with other target language file renames: use runme.scm for scripts and example.i, example.c for example code. Add class example to examples being tested.
* Fix running of Guile multivalue and std_vector examplesWilliam S Fulton2013-05-084-3/+6
|
* Portable dynamic library loading for GuileWilliam S Fulton2013-05-081-1/+1
| | | | | | | | | dynamic-link and load-extension work without passing the .so or .dll as the shared library extension, so these have been dropped so the examples and test-suite work on Cygwin. Also update documentation and use the 'lib' prefix as that is what we commonly name the shared libraries.
* Guile multimap example fix for 64 bit systemsWilliam S Fulton2013-05-011-1/+3
|
* guile: get multimap example to runGeert Janssens2013-05-013-3/+10
|
* guile: make constants example display some output similar to other languagesGeert Janssens2013-05-011-0/+9
|
* Add C++ class example for GuileWilliam S Fulton2013-04-305-3/+92
| | | | Also correct other example c++ makefiles
* guile: fix multimap exampleGeert Janssens2013-04-281-21/+30
| | | | | | - fix compiler warning - fix guile 2 deprecation warnings - minor cleanup of generated code
* guile: fix matrix exampleGeert Janssens2013-04-283-14/+20
| | | | | - add missing library in link phase - empty true path () for if is not allowed
* Fix deprecation warnings for test suite under guile 2.0Geert Janssens2013-04-281-1/+1
|
* Drop guilegh interfaceGeert Janssens2013-04-281-2/+2
| | | | | | | | All of guile's interface files now use the scm interface. This should not affect any users. Swig generated code using the scm interface can be mixed with gh interface using user code. It does simplify maintenance of the guile swig code though.
* Add support for guile 2.0: configure and makefiles.Geert Janssens2013-04-281-4/+4
| | | | | | | | | Note: guile-config is badly broken for guile 2. So the guile configure section has been rewritten to use pkg-config instead. Manually resolved conflicts: Examples/Makefile.in
* Guile example makefiles - run some of the examples in the check target.William S Fulton2013-04-203-1/+5
| | | | Still some are missing. Add some missing examples to check.list.
* Guile example makefiles tweaks for consistency with other languages. 'make ↵William S Fulton2013-04-198-36/+34
| | | | check' still incomplete.
* remove final vestiges of gifplot exampleWilliam S Fulton2010-02-281-3/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* SWIG license change - The Examples and Lib move to a very permissive license ↵William S Fulton2010-02-271-1/+0
| | | | | | in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove svn:executable property where applied incorrectlyWilliam S Fulton2008-11-261-0/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* various warning fixesWilliam S Fulton2008-06-212-2/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* [guile] Fix the guile examples on 64-bit platforms.Olly Betts2007-10-304-17/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvsignore files: this is stored on svn:igonre property nowJohn Lenz2006-12-038-15/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2006-01-302-0/+4
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* remove deprecated language specification in %typemapWilliam S Fulton2006-01-091-5/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* force examples to use preinst-swig, as is done in the test-suiteMarcelo Matus2005-11-273-3/+3
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix extern declarationsWilliam S Fulton2005-06-282-0/+12
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22