Started making object creation work
This commit is contained in:
parent
e8410e9464
commit
1e9dbd3018
7 changed files with 43 additions and 0 deletions
|
@ -43,3 +43,8 @@ int ObjectType_DefinePrimitiveAttribute(ObjectType* self, enum ValueType attribu
|
|||
};
|
||||
return HashMap_Put(&self->attributes, attribute_name.source, attribute_name.length, &attribute);
|
||||
}
|
||||
|
||||
size_t ObjectType_GetAttributeCount(ObjectType* self)
|
||||
{
|
||||
return HashMap_Size(&self->attributes);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue