| 120 | } |
| 121 | } |
| 122 | bv_type GetMatrixTypeFromName(const char* name) |
| 123 | { |
| 124 | for (int i = 0; i < floatMats.size(); i++) |
| 125 | if (strcmp(floatMats[i], name) == 0 || (i < doubleMats.size() && strcmp(doubleMats[i], name) == 0)) |
| 126 | return bv_type_float; |
| 127 | |
| 128 | return bv_type_void; |
| 129 | } |
| 130 | bv_type GetVariableTypeFromName(const char* name) |
| 131 | { |
| 132 | static const char* tNames[] = { "int", "float", "bool", "double", "uint", "byte", "char", "short", "half" }; |
no test coverage detected