add a new property to entity
| 14 | |
| 15 | // add a new property to entity |
| 16 | bool GraphEntity_AddProperty |
| 17 | ( |
| 18 | GraphEntity *e, |
| 19 | Attribute_ID attr_id, |
| 20 | SIValue value |
| 21 | ) { |
| 22 | ASSERT(e); |
| 23 | |
| 24 | AttributeSet_Add(e->attributes, attr_id, value); |
| 25 | |
| 26 | return true; |
| 27 | } |
| 28 | |
| 29 | SIValue *GraphEntity_GetProperty |
| 30 | ( |
no test coverage detected