MCPcopy Create free account
hub / github.com/anjo76/angelscript / CallCDeclFunction

Function CallCDeclFunction

sdk/angelscript/source/as_callfunc_mips.cpp:435–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435asQWORD 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

Callers 1

CallSystemFunctionNativeFunction · 0.70

Calls 1

splitArgsFunction · 0.70

Tested by

no test coverage detected