Skip to content

The spec file is missing the value for a string created with #define#128

Open
ellisvelo wants to merge 1 commit intorpav:llvm-17.0.0from
ellisvelo:llvm-17.0.0
Open

The spec file is missing the value for a string created with #define#128
ellisvelo wants to merge 1 commit intorpav:llvm-17.0.0from
ellisvelo:llvm-17.0.0

Conversation

@ellisvelo
Copy link
Copy Markdown

Hello,

I ran into a problem where the generated spec file didn't have the value for a #define with a string. For example, #define SDL_PROP_TEXTURE_CREATE_FORMAT_NUMBER "SDL.texture.create.format" would only have the name, but not the value in the spec file.

I noticed that it did work with an older llvm-12.x branch and then found out that isAscii() was renamed to isOrdinary(): llvm/llvm-project@a9a60f2

Making use of isOrdinary() does provide the value for the #define in the spec file. Thanks for creating c2ffi because it really does make it easier to interface with other libraries.

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