neslib / Chet

C Header Translator for Delphi
BSD 2-Clause "Simplified" License
204 stars 43 forks source link

Post Processing Support #15

Closed jarroddavis68 closed 1 year ago

jarroddavis68 commented 2 years ago

So, I have been working on adding a feature that can "clean up" the converted header that will compile. After working on this problem for a while, I discovered that, when you manually modify the header, you will be adding, removing, and changing lines. So, wrote some code that will allow you to do this easily and automate the process.

Next, I added a simple scripting interface over these four routines, and this forms the basis of this modification. I got it integrated tonight and it seems to be working. Yay! I'm gonna tweak it a bit more then figure out how to do a PR, LOL.

Chet1 Chet2 Chet3 Chet4
neslib commented 1 year ago

@jarroddavis68 So no PR then?

jarroddavis68 commented 1 year ago

I'm reworking it for now, making it more efficient and easier to integrate. Something is going wrong each time I try to add your changes to mine, there are conflicts. I need to figure out how to make the integration so that this will not happen.