On Sunday, 4 June 2017 at 15:43:09 UTC, Jacob Carlborg wrote:
On 2017-06-04 10:18, Jakub Szewczyk wrote:
Btw, I've manually ported the basic and configuration headers,
no mistakes are made, and then used DStep and a modified DStep
generate the rest of the headers - my modification was only to
the way function declarations are generated, to make them in
form of alias da_function = void function(...);, and the rest
with quite a lot of editor(VSCode) shortcuts.
Would you like to contribute your changes under a flag to DStep?
The problem is, it emits completely wrong code whereever a
necessary, like in function pointers. I can try to isolate the
global-level function declarations only, to make it generate
code that doesn't require running two versions of DStep in
extract all the information, when I do that I'll submit a PR.