| 332 | } |
| 333 | |
| 334 | size_t GetStackArgsSize(DHooksCallback *dg) |
| 335 | { |
| 336 | size_t res = GetParamsSize(dg); |
| 337 | #ifdef WIN32 |
| 338 | if(dg->returnType == ReturnType_Vector)//Account for result vector ptr. |
| 339 | #else |
| 340 | if(dg->returnType == ReturnType_Vector || dg->returnType == ReturnType_String) |
| 341 | #endif |
| 342 | { |
| 343 | res += OBJECT_OFFSET; |
| 344 | } |
| 345 | return res; |
| 346 | } |
| 347 | |
| 348 | HookReturnStruct::~HookReturnStruct() |
| 349 | { |
no test coverage detected