| 191 | } |
| 192 | } |
| 193 | asQWORD CallCDeclFunction(const asDWORD *args, int argSize, asDWORD func, int flags) |
| 194 | { |
| 195 | int argNum = argSize >> 2; |
| 196 | |
| 197 | int intArgs = 0; |
| 198 | int floatArgs = 0; |
| 199 | int restArgs = 0; |
| 200 | |
| 201 | // put the arguments in the correct places in the sh4Args array |
| 202 | if (argNum > 0) |
| 203 | splitArgs(args, argNum, intArgs, floatArgs, restArgs, flags); |
| 204 | |
| 205 | return sh4Func(intArgs << 2, floatArgs << 2, restArgs << 2, func); |
| 206 | } |
| 207 | |
| 208 | // This function is identical to CallCDeclFunction, with the only difference that |
| 209 | // the value in the first parameter is the object |
no test coverage detected