| 433 | } |
| 434 | |
| 435 | asQWORD CallCDeclFunction(const asDWORD *args, int argSize, asDWORD func, int flags) |
| 436 | { |
| 437 | int argNum = argSize >> 2; |
| 438 | |
| 439 | int intArgs = 0; |
| 440 | int floatArgs = 0; |
| 441 | int restArgs = 0; |
| 442 | |
| 443 | // put the arguments in the correct places in the mipsArgs array |
| 444 | if(argNum > 0) |
| 445 | splitArgs(args, argNum, intArgs, floatArgs, restArgs, flags); |
| 446 | |
| 447 | return mipsFunc(intArgs << 2, floatArgs << 2, restArgs << 2, func); |
| 448 | } |
| 449 | |
| 450 | // This function is identical to CallCDeclFunction, with the only difference that |
| 451 | // the value in the first parameter is the object |
no test coverage detected