ChezScheme icon indicating copy to clipboard operation
ChezScheme copied to clipboard

Support #f as nullptr in (* ftype)

Open xaengceilbiths opened this issue 5 years ago • 1 comments

It is painful to auto-generate and use bindings for a library with 100 entries, 5 args per entry with some default (* ftype) value NULL. Therefore it is a good idea to support #f as nullptr in (* ftype) args, just like #f for nullptr in strings. Maybe my implementation will help: https://github.com/xaengceilbiths/ChezScheme I wrote some tests: https://gist.github.com/xaengceilbiths/434ec8e654fd7bd6b6ba5ab5381b939e

xaengceilbiths avatar Mar 18 '19 17:03 xaengceilbiths

Here is the relevant commit https://github.com/xaengceilbiths/ChezScheme/commit/3ce57d631091057d2b80be659525cfd1d3ab49a8

amirouche avatar Jul 17 '19 18:07 amirouche