Closed HertzDevil closed 4 years ago
So, I rebased the two PRs locally. The specs are all-green and I even got qt5.cr to run and display something in a WSL2 environment. Really cool features you added to Bindgen, Thank You! 😃
Will close this PR and then push the changes to master
.
Cheers!
Amazing!
Resolves #68. Work to do:
Superclass
wrappersSuperclass
wrappersC++
abstract method wrappers that ignore theBgJumptable
sSome notes:
#superclass
methods are private, however Crystal'sprivate
is closer toprotected
in Java so usage is the same.Bindgen::Generator::Crystal
must be a Crystalclass
, so theSuperclass
wrappers aren'tstruct
s right now. (I tried to do something likeklass.origin.class? ? "class" : "struct"
but it seemed to turn every Crystal wrapper class into astruct
; this needs further investigation.)def name : UInt8*
edits merely resolve a compiler warning that will become an error in Crystal 1.0.