Skip to content

Very dirty fix for nanosvg.h to C# - #14

Open
uwx wants to merge 4 commits into
HebronFramework:masterfrom
uwx:master
Open

Very dirty fix for nanosvg.h to C##14
uwx wants to merge 4 commits into
HebronFramework:masterfrom
uwx:master

Conversation

@uwx

@uwx uwx commented Jul 4, 2026

Copy link
Copy Markdown

Very vibe-coded, use at your own risk. With this fix, NanoSVG almost compiles (the nsvg__colors initializer is invalid C#). Without it, it dies because the tokens.Length == 1 fails assertion (there's 7800 tokens in the macro expansion for NSVG_RGB for some reason)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant