trolldbois / ctypeslib

Generate python ctypes classes from C headers. Requires LLVM clang
http://trolldbois.blogspot.com/search?q=ctypeslib
MIT License
217 stars 61 forks source link

Show the actual location of the error #112

Closed wtdcode closed 1 year ago

wtdcode commented 2 years ago

Sometimes the error might happen in an included file and thus x.location.file is the actual file where the error happens.

coveralls commented 2 years ago

Coverage Status

Coverage decreased (-0.1%) to 83.441% when pulling 974c43437564c40dfeeccbd4c7f74a43b815cab8 on wtdcode:show-actual-filename into 58b0729e2130cd5c2e89bee5c0af01af1813b1ac on trolldbois:master.

trolldbois commented 1 year ago

i'll add test cases