Frank Heckenbach wrote:
A kernel extension -- well, I only know about the Linux kernel, but you usually #include a number of kernel specific headers (which contain asm code, special #defines and other nontrivial stuff). Trying to translate them to Pascal might not be really nice unless we have a fully automatic header converter that also handles such constructs ...
I often have to translate C headers -- and I am sure I am not alone. What I do, is I open a Pascal interface unit and then translate whatever I need, I don't translate all of it. This is a bit tedious, but at least it can be done. The situation is much worse when the system software or some plug-in architecture forces you to use C++ or Objective-C.
Yes, a fully automatic C header converter would be highly useful tool.
Regards,
Adriaan van Os