Charlie Savage

Results 114 comments of Charlie Savage

FYI for generating bindings I have been working on https://github.com/ruby-rice/ruby-bindgen.

Rice should (and I think does) make a distinction - all types are checked. I'll have to look at your example when I have a moment. Just the code you...

So the `overload_method` example above should work correctly. As should the variant you defined. If it doesn't, then that is a bug. I checked the variant test cases, and they...

See new test case at https://github.com/ruby-rice/rice/blob/master/test/test_Stl_Variant.cpp#L366. If you do `std::variant` instead, then the last test will pass because Rice will convert an array of ints to `std::vector` Note the "picking"...

The full solution would be expose `std::variant` to Ruby code thus exposing its api - like `std::vector`. Instead Rice hides it - automatically translating values to and from it. Same...

Do you want to submit a PR?

Cool - happy to have a PR that fixes unit tests, but this PR also includes other additional changes. Could you separate those out? Also, what does the `__snapshot__` directory...

Yes, I would like an PR that only contains the changes needed for updating the unit tests. Other changes we can talk about in separate PRs. Thanks for the explanation...

Just following up - would like to get this merged.