diivm / pcl

Point Cloud Library (PCL)
http://www.pointclouds.org
Other
0 stars 0 forks source link

Replace `spelling` usage with types and names #33

Open diivm opened 4 years ago

diivm commented 4 years ago

Currentlly, in many instances, .spelling property is used (for checks, types, etc.)

Ex: https://github.com/divmadan/pcl/blob/327830713062dfc7a5044710d17ebe62930c6c1c/bindings/python/scripts/parse.py#L103-L104

Can be replaced like:

if cursor.type != clang.TypeKind.INVALID:
        parsed_info["element_type"] =  cursor.type.kind.name