swig/Examples/guile
Olly Betts 7ec2f89fe2
Remove redundant NULL checks before free()/delete (#2184)
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/
2022-01-29 22:03:48 +13:00
..
class Remove use of preinst-swig script 2015-08-21 22:43:17 +01:00
constants Remove use of preinst-swig script 2015-08-21 22:43:17 +01:00
matrix Fix guile examples for C11 and later conformance 2021-11-15 19:25:41 +00:00
multimap Remove redundant NULL checks before free()/delete (#2184) 2022-01-29 22:03:48 +13:00
multivalue Misc. typos 2018-05-17 10:04:23 -04:00
port Remove use of preinst-swig script 2015-08-21 22:43:17 +01:00
simple Standardise Guile simple example 2019-02-09 14:44:33 +00:00
std_vector Remove use of std::bind2nd which is removed in C++17 2019-06-27 07:40:49 +01:00
README Migrate Guile examples build into common Examples makefile 2013-05-09 19:28:09 +01:00
check.list Alphabetise testing of examples 2020-08-13 20:07:10 +01:00

README

This directory contains examples for Guile.

constants   -- handling #define and %constant literals
class       -- classic c++ class example
matrix      -- a very simple Matrix example
multimap    -- typemaps with multiple sub-types
multivalue  -- using the %values_as_list directive
port        -- scheme ports as temporary FILE streams
simple      -- the simple example from the user manual
std_vector  -- C++ STL vector<int> and vector<double>


Note that the examples in this directory build a special version of
Guile which includes the wrapped functions in the top-level module.