dkimitsa / robovm-bro-gen

Script which generates C/Objective-C bindings for use with RoboVM
Other
8 stars 6 forks source link

bro-gen is not compatible with ffi-clang v0.10.0 due breaking changes in API #4

Closed dkimitsa closed 2 months ago

dkimitsa commented 2 months ago

https://github.com/ioquatix/ffi-clang/issues/82

/Users/roman/Downloads/bindings/robovm-bro-gen/bro-gen.rb:2911:in `process': undefined method `visit_children' for an instance of FFI::Clang::Cursor (NoMethodError)

            cursor.visit_children do |cursor, _parent|
                  ^^^^^^^^^^^^^^^
    from /Users/roman/Downloads/bindings/robovm-bro-gen/bro-gen.rb:3974:in `block in <main>'
    from /Users/roman/Downloads/bindings/robovm-bro-gen/bro-gen.rb:3816:in `each'
    from /Users/roman/Downloads/bindings/robovm-bro-gen/bro-gen.rb:3816:in `<main>'
dkimitsa commented 2 months ago

fixed with https://github.com/dkimitsa/robovm-bro-gen/commit/f8f9c67cecd474e746e5de3f85ecf893ae39b535