List view
Support the handling of objects with types that require custom logic to implement idiomatically in each language. Examples: - support returning objects of type `std::optional<T>` as nullable objects in the C API, and as the appropriate reference-or-null type in each language (e.g. `None` in Python). - support `std::vector<T>` by exposing `ptr, size` in the C API and as appropriate types in each language (e.g. `numpy.array` in Python). - support `std::variant<A, B, C, ...>` ...
No due date•0/2 issues closedMake the templates easier to read and maintain through the use of Jinja2 macros, whitespace suppression, and other constructs as necessary. http://jinja.pocoo.org/docs/2.9/templates/ details the features supported by Jinja2. The `_c.h.tmpl` and `_c.cpp.tmpl` templates for C code generation give an example of what we're aiming for, together with `_c.macros` containing the shared Jinja2 macro definitions.
No due date•12/14 issues closed- No due date•0/3 issues closed