| 2782 | } |
| 2783 | |
| 2784 | const char* FindConstructorName(TypeInfo* type) |
| 2785 | { |
| 2786 | // Remove class arguments |
| 2787 | if(type->genericBase) |
| 2788 | type = type->genericBase; |
| 2789 | if(!type->name) |
| 2790 | return NULL; |
| 2791 | // Remove namespaces |
| 2792 | if(const char* pos = strrchr(type->name, '.')) |
| 2793 | return pos + 1; |
| 2794 | return type->name; |
| 2795 | } |
| 2796 | |
| 2797 | bool HasConstructor(TypeInfo* type, unsigned arguments, bool* callDefault) |
| 2798 | { |
no outgoing calls
no test coverage detected