File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,5 @@ void define_julia_Attributable(jlcxx::Module &mod)
2020 type.method (" cxx_comment" , &Attributable::comment);
2121 type.method (" cxx_set_comment!" , &Attributable::setComment);
2222 type.method (
23- " cxx_series_flush" ,
24- static_cast <void (Attributable::*)()>(&Attributable::seriesFlush));
23+ " cxx_series_flush" , [](Attributable &attr) { attr.seriesFlush (); });
2524}
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ void define_julia_Datatype(jlcxx::Module &mod)
1717 mod.method (" cxx_to_bytes" , toBytes);
1818 mod.method (" cxx_to_bits" , toBits);
1919 mod.method (" cxx_is_vector" , isVector);
20- mod.method (" cxx_is_floating_point" , (bool (*)(Datatype))isFloatingPoint);
20+ mod.method (
21+ " cxx_is_floating_point" ,
22+ static_cast <bool (*)(Datatype)>(isFloatingPoint));
2123 mod.method (
2224 " cxx_is_complex_floating_point" ,
2325 static_cast <bool (*)(Datatype)>(isComplexFloatingPoint));
You can’t perform that action at this time.
0 commit comments