PK_ENTITY_delete_attribs   

PK_ERROR_code_t PK_ENTITY_delete_attribs
(
--- received arguments ---
PK_ENTITY_t     entity,             --- entity
PK_ATTDEF_t     attdef,             --- attribute definition

--- returned arguments ---
int      *const n_deleted           --- number of attributes deleted (>=0)
)


This function deletes any attributes with the given definition directly
attached to the given entity.  If the attribute definition is
PK_ENTITY_null, all attributes, of any type, are deleted.


The function returns the number of such attributes deleted.