Commit Graph

16 Commits

Author SHA1 Message Date
Ralf W. Grosse-Kunstleve
60597f3db3 Adding MISSING comments in operator std::unique_ptr<mpty[ const]>. 2021-01-29 14:11:55 -08:00
Ralf W. Grosse-Kunstleve
034c95caf3 static handle cast implementations for rtrn_shmp, rtrn_shcp. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
31838564e2 Pure clang-format change (applied to original type_caster_generic::cast). 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
783852aa22 Copying type_caster_generic::cast into type_caster<mpty> as-is (preparation for handling smart pointers). 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
134552a328 static cast handle for rtrn_valu works by simply dropping in code from type_caster_base (marked with comments). rtrn_rref raises a RuntimeError, to be investigated. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
06f9ba9d94 static cast handle for rtrn_cref works by simply dropping in code from type_caster_base (marked with comments). rtrn_mref and rtrn_mptr work via const_cast (to add const). 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
59030f0155 static cast handle for rtrn_cptr works by simply dropping in code from type_caster_base (marked with comments). 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
bb1b3d17ad Systematically setting mtxt for all rtrn_mpty_* functions (preparation, the values are not actually used yet). 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
cbef095cd5 Pure clang-format --style=file -i change, with two clang-format off directives. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
57b8fafc43 Retrieving smart_holder pointer in type_caster<std::unique_ptr<mpty[ const]>>::load, and using it cast_op operators. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
98e3c5abb9 Retrieving smart_holder pointer in type_caster<std::shared_ptr<mpty[ const]>>::load, and using it cast_op operators. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
49994070d8 Factoring out smart_holder_type_caster_load. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
ed6c890776 Retrieving smart_holder pointer in type_caster<mpty>::load, and using it cast_op operators. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
36ebf1e7c5 Adding isinstance<mpty> in type_caster::load functions. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
08fe834c4b Adding mpty::mtxt string member. 2021-01-29 14:11:54 -08:00
Ralf W. Grosse-Kunstleve
32d2967b0c classh.h: renaming of class_ to classh + namespace; forking test_classh_wip from test_type_caster_bare_interface_demo. 2021-01-29 14:11:54 -08:00