added hash,copy methods for lists and maps. The hash method is now obligatory

This commit is contained in:
cozis
2022-03-09 13:05:05 +01:00
parent 0e9075bdbc
commit 7412f91d7d
6 changed files with 110 additions and 24 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ const char* Object_GetName(const Object *obj);
unsigned int Object_GetSize(const Object *obj, Error *err);
unsigned int Object_GetDeepSize(const Object *obj, Error *err);
void *Object_GetBufferAddrAndSize(Object *obj, int *size, Error *error);
int Object_Hash (Object *obj, Error *err);
int Object_Hash (Object *obj);
Object* Object_Copy (Object *obj, Heap *heap, Error *err);
Object* Object_Call (Object *obj, Object **argv, unsigned int argc, Heap *heap, Error *err);
void Object_Print (Object *obj, FILE *fp);