You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c89 requires data and executable code to be segregated, similar to assemblers like MASM.
It appears that a lot of code still uses similar patterns (albeit not at the beginning of the function), likely an artifact of an earlier language target before this project was updated to c99.
What is the proposed change, exactly? Personally I find that function body far too long & would break it up into more helpers. Do you have something different in mind?
Activity
MichaelChirico commentedon May 13, 2025
What is the proposed change, exactly? Personally I find that function body far too long & would break it up into more helpers. Do you have something different in mind?
badasahog commentedon May 13, 2025
I was going to move the object declarations generally closer to where they're actually used.
This change would also make it easier to extract stuff into helper functions if we choose to do that
MichaelChirico commentedon May 13, 2025
I guess the effort would be better spent jumping straight to designing helpers, but if you want to write a PR I will review :)