How to change the object kind
How to change the object kind
In order to change the kind of an object, you have the following routine:
NAME: c_o_k which abbreviates
change_object_kind
SYNOPSIS: INT c_o_k(OP object; OBJECTKIND kind)
DESCRIPTION: As OP is a pointer, there is first a check, whether it is the NULL pointer, then the kind of the object is changed to kind
RETURN: The returnvalue is OK, or ERROR if an error occured
MACRO: There is a macro C_O_K which does the same change, but without a check.
harald.fripertinger "at" uni-graz.at, May 26, 2011
How to change the object kind