Commit Graph
4 Commits
Author SHA1 Message Date
Daniele Panozzo 39969d911f added comments to python files 2/2
Former-commit-id: d243ce6cb1
2017-10-08 16:05:42 -04:00
Francis Williams e76521800e Python binding for igl_adjacency_list(const MatrixXi& F, vector<vector<int>& A, bool sorted). Use an opaque type for the output parameter A.
I also fixed a couple of bugs in generate_docstrings.py:
1) We were checking for an empty string where a result could also be Nonn.
2) If you forgot to end the argument path with  a slash, the output would be incorrect
3) We were coupled to a specific version of clang for no reason
4) Python 3 clang binding support was only added in April 2017 (https://reviews.llvm.org/D31568). Using python3 by default will not work on the clang bindings which ship with pip and most Linux distros. Let's change the hashbang to use python2 for now.
5) The documentation for the script was a bit confusing.


Former-commit-id: 230ab71e20
2017-07-05 13:31:03 -04:00
Sebastian Koch dce8825124 Added automatic binding generator script with basic template, updated/extended parser and added generated error and file listing
Former-commit-id: cb25fb2ce7
2016-05-20 20:24:28 +02:00
Sebastian Koch 344cb9eea3 -Changes to header files to support parsing
-Added header parser and docstring generator


Former-commit-id: e879d27f15
2016-05-12 15:36:04 +02:00