Quote Originally Posted by FPK
Quote Originally Posted by Legolas
I have started to convert devkitPro's libnds headers, but h2pas can't help (I get a lot of internal errors).
h2pas works only semi automatic: start conversion, find first crash/error, fix/remove statement and continue.
BTW: You should also get internal errors only after a syntax error.
I have resolved by doing all by hand. 85% it is only search and replace matter, so I'm proceeding very quickly. There is some construct that I can't translate 1:1, like bit fields inside a struct, but I'll provide some bit masking functions, if needed