Takes a turnOption_OP and a pointer to a turnOP_args struct.
Logs a warning for any NULL field in the struct. Performs the defined turn operation, before returning an OP_res.
- Parameters
-
op | The kind of operation to do. |
args | Struct containing needed args for current operation. Can have some fields uninitialised, if not relevant to requested turnOP. |
kls | The Koliseo used for allocations. |
t_kls | The Koliseo_Temp used for temporary allocations. |
- Returns
- An OP_res representing result of turn option operation.
- See also
- turnOP_args
-
turnOption_OP
-
OP_res