Stefan Merettig
Stefan Merettig
> I had to change the runner.cr to pass this argument I need to make it work with the usage from the README. The README is fun and all, but...
The template instantiation support is quite in its beginnings, as I simply didn't need it much with Qt (Qt was the driving factor behind bindgen after all). A `sequential` container...
> Any tips for std::unique_ptr? v8 seems to be using those quite a bit. Oh shit. Well, that's going to be nasty. First there's the issue with there not being...
As long no one feels like implementing smart pointer support, using a wrapper that "hides" them will help. Bindgen has facilities to wrap C libraries back into classes.
In general, I really like these macros. They're much nicer to use than those mumbo-jumbo generated ones! However: ```crystal def f(pen : Qt::Pen) # before pen.dash_pattern = [3.0, 1.5, 1.0,...
> This might be sufficient to fix the second issue. For it not to break existing code QVector(Float64) < Enumerable(Float64) must be true, but this isn't the case right now...
Mh, this works fine in the playground: https://play.crystal-lang.org/#/r/9zap
I'm not sure if we should go with a QObject-only approach. I currently see two possibilities that'd work for everything: 1. Sub-class every class that's wrapped and add a variable...
> Regarding Boehm GC: defining #finalize should be the same as using GC_register_finalizer_ignore_self or passing a C++ finalizer function next to UseGC. Yup, that'd be fine. However, I'm not sure...
@ZaWertun Yeah that would be the ideal addition. The syntax I chose is `X_(is|isnt|match)_Y` to be as readable as possible (Without the reader scouring some docs on that syntax). Maybe...