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

Confusing INFO #101

Closed occoder closed 2 years ago

occoder commented 3 years ago

After installing the whole package of LLVM+Clang by apt-get install clang-format clang-tidy clang-tools clang clangd libc++-dev libc++1 libc++abi-dev libc++abi1 libclang-dev libclang1 liblldb-dev libllvm-ocaml-dev libomp-dev libomp5 lld lldb llvm-dev llvm-runtime llvm python-clang Executed clang2py -o rp_api.py rp.h rp.h Got following messages

INFO:cursorhandler:This param type is not declared: uint32_t
INFO:cursorhandler:This param type is not declared: int32_t
INFO:cursorhandler:This param type is not declared: int64_t

It is prompted as INFO, but looks like error. However, the output file contains following lines which seems a success conversion.

uint32_t = ctypes.c_uint32
int32_t = ctypes.c_int32
int64_t = ctypes.c_int64
trolldbois commented 2 years ago

So, what is the problem here ?