It looks like you're new here. If you want to get involved, click one of these buttons!
// Scaling an object by a factor of 2
orxObject_SetSize(pstObject, orxVector_Mulf(orxObject_GetSize(pstObject, &vSize), orx2F(2.0)));
So, the return value is not returned as value but as pointer ?
The allocation is always the responsibility of the caller. Most of the time, if not always, the structure should be allocated on the stack.
As for the convenience part (call chaining), here's an example: