Closed yqszxx closed 3 years ago
@yqszxx plz share your flow in the PR description page, that's very interesting.
This tool cproto is able to convert most of functions' prototype, but it isn't happy with modern standard library header files which causes functions with their arguments typed with types from std lib (like FILE
) being ignored. Some manual dummy definitions placed in the ignored file fix this problem:
typedef int FILE;
Then just use regex to stripe out IN
, register
and sort of stuffs.
@yqszxx plz rebase to master
Moved to #19.
Wait for Chisel CI by @sinofp