helapordo 1.4.12
|
Go to the source code of this file.
Functions | |
OP_res | turnOP (turnOption_OP op, turnOP_args *args, Koliseo *kls, Koliseo_Temp *t_kls) |
Takes a turnOption_OP and a pointer to a turnOP_args struct. | |
OP_res turnOP | ( | turnOption_OP | op, |
turnOP_args * | args, | ||
Koliseo * | kls, | ||
Koliseo_Temp * | t_kls ) |
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.
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. |