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

Function CallCDeclFunction

sdk/angelscript/source/as_callfunc_sh4.cpp:193–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 }
192}
193asQWORD 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

Callers 1

CallSystemFunctionNativeFunction · 0.70

Calls 1

splitArgsFunction · 0.70

Tested by

no test coverage detected