| 358 | struct void_caster { |
| 359 | public: |
| 360 | bool load(handle src, bool) { |
| 361 | if (src && src.is_none()) { |
| 362 | return true; |
| 363 | } |
| 364 | return false; |
| 365 | } |
| 366 | static handle cast(T, return_value_policy /* policy */, handle /* parent */) { |
| 367 | return none().release(); |
| 368 | } |
no outgoing calls
no test coverage detected