| 4155 | } |
| 4156 | |
| 4157 | static int c_operator_param_count(const CBMRegisteredFunc *candidate) { |
| 4158 | if (!candidate || !candidate->signature || candidate->signature->kind != CBM_TYPE_FUNC) { |
| 4159 | return -1; |
| 4160 | } |
| 4161 | int count = 0; |
| 4162 | const CBMType *const *params = candidate->signature->data.func.param_types; |
| 4163 | while (params && params[count]) { |
| 4164 | count++; |
| 4165 | } |
| 4166 | return count; |
| 4167 | } |
| 4168 | |
| 4169 | static bool c_operator_signature_matches(CLSPContext *ctx, const CBMRegisteredFunc *candidate, |
| 4170 | const CBMType *const *actuals, int actual_count) { |
no outgoing calls
no test coverage detected