Commit 60a41f4f authored by Matthias Braun's avatar Matthias Braun
Browse files

document the new behaviour of set_entity_owner which has been there for a while now

[r27923]
parent 3a471716
......@@ -253,8 +253,11 @@ FIRM_API const char *get_entity_ld_name(const ir_entity *ent);
/** Returns the owner of the entity. */
FIRM_API ir_type *get_entity_owner(const ir_entity *ent);
/** Sets the owner field in entity to owner. Don't forget to add
ent to owner!! */
/**
* Sets the owner field in entity to owner.
* Automatically removes entity from old owner type and adds it to the new
* one.
*/
FIRM_API void set_entity_owner(ir_entity *ent, ir_type *owner);
/** Returns the type of an entity. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment