trolldbois / ctypeslib

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

Fix versioned symbols from nm #128

Open geohot opened 1 year ago

geohot commented 1 year ago

Sometimes symbols have versions in libraries, then they can't be found by clang2py

000000000024c920 T hipLaunchHostFunc_spt@@hip_5.3                      
0000000000202b10 T hipLaunchKernel@@hip_4.2 

This fixes that

rviollette commented 9 months ago

Hi there, I confirm 44830a6 fixes the non-determinism in the generated output. Now, the output is always identical every time I run ctypeslib2.

Thanks