-type_t classinfo_type = {
- hash: (hash_func)classinfo_hash,
- equals: (equals_func)classinfo_equals,
- /* all signatures are static */
- dup: (dup_func)dummy_clone,
- free: (free_func)dummy_destroy,
-};
-
-// ----------------------- function signature ------------------------------
-
-static char memberinfo_equals(memberinfo_t*f1, memberinfo_t*f2)
-{
- return !strcmp(f1->name, f2->name);
-}
-static unsigned int memberinfo_hash(memberinfo_t*f)
-{
- return crc32_add_string(0, f->name);
-}
-type_t memberinfo_type = {
- hash: (hash_func)memberinfo_hash,
- equals: (equals_func)memberinfo_equals,
- /* all signatures are static */
- dup: (dup_func)dummy_clone,
+type_t slotinfo_type = {
+ hash: (hash_func)slotinfo_hash,
+ equals: (equals_func)slotinfo_equals,
+ dup: (dup_func)dummy_clone, // all signatures are static