| 882 | typedef ClassType class_type; |
| 883 | |
| 884 | value_object(const char* name) { |
| 885 | using namespace internal; |
| 886 | |
| 887 | auto ctor = &raw_constructor<ClassType>; |
| 888 | auto dtor = &raw_destructor<ClassType>; |
| 889 | |
| 890 | _embind_register_value_object( |
| 891 | TypeID<ClassType>::get(), |
| 892 | name, |
| 893 | getSignature(ctor), |
| 894 | reinterpret_cast<GenericFunction>(ctor), |
| 895 | getSignature(dtor), |
| 896 | reinterpret_cast<GenericFunction>(dtor)); |
| 897 | } |
| 898 | |
| 899 | ~value_object() { |
| 900 | using namespace internal; |
nothing calls this directly
no test coverage detected