| 61 | //-***************************************************************************** |
| 62 | template<class TPTraits> |
| 63 | object getArrayType() |
| 64 | { |
| 65 | typedef TypeBindingTraits<TPTraits> binding_traits; |
| 66 | typedef typename binding_traits::python_array_type array_type; |
| 67 | |
| 68 | typename manage_new_object::apply<array_type*>::type converter; |
| 69 | |
| 70 | array_type* array = createArray<array_type>( 1 ); |
| 71 | |
| 72 | return object( handle<>( converter( array ) ) ).attr( "__class__" ); |
| 73 | } |
| 74 | |
| 75 | //-***************************************************************************** |
| 76 | #define REGISTER_TPTRAITS( TPTraits ) \ |
nothing calls this directly
no outgoing calls
no test coverage detected