mirror of https://github.com/swig/swig.git
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/ |
||
|---|---|---|
| .. | ||
| class | ||
| constants | ||
| matrix | ||
| multimap | ||
| multivalue | ||
| port | ||
| simple | ||
| std_vector | ||
| README | ||
| check.list | ||
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.