Hacker News new | ask | show | jobs
by homedog 4965 days ago
It's particularly useless for anything else, really. Not to mention it's in a completely un-portable format. One can only hope this was generated automatically.
1 comments

"Un-portable" in that it wraps the win32 API rather than implementing the API. But it's actually a pretty handy format if you wanted to generate wrappers for other languages -- replace a couple base types/functions and have it emit code to wrap the Win32 API for any other language.

And yeah, it's pretty obviously automatically generated.

I did the same years back. Ported the entire win32 API to lua. Automatically generated the code. But the work was hard never the less.