personalrobotics / chimera

:snake: A CLI tool for generating Boost.Python/pybind11 bindings from C/C++
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

Add typedef support #312

Closed jslee02 closed 4 years ago

jslee02 commented 4 years ago

Typedef and type alias are currently ignored. This PR adds typedef support inspired by this SO post.

Disclaimer: This PR only works for typedef for the case that satisfying that (1) the original type is not templated type (since chimera doesn't generate bindings for templated classes) and (2) the original type is the type whose the binding is being generated.

Both limitations will be resolved by future PRs.

jslee02 commented 4 years ago

Is this PR ready for review?

Yes!