well-typed / hs-bindgen

Automatically generate Haskell bindings from C header files
13 stars 0 forks source link

Use `clang_getCursorSemanticParent` #148

Closed edsko closed 1 week ago

edsko commented 1 week ago

in clang_getEnumConstantDeclValue instead of asking the fold for the parent, so that the function is usable in more contexts.