Four tools are involved in the conversion process :
headertoxml
stubgen
codegen
hookgen
headertoxml converts *.h to a xml file.
Command line : headertoxml <aFile.h>
stubgen generate a C/C++ file that wraps aFile.h (classes only).
Command line : stubgen <aFile.h>
Command line : codegen <aFile.xml>
Command line : hookgen