types: lowercase type_name for the object type (object, not Object)
Matches the lowercase convention of every other type (int, bool, generator, native, list). Updates table.c, empty.c and the ffi test expectation. 84/84 tests.
This commit is contained in:
1 parent
d29b0706c9
commit
0292d88a53
3 files changed
+3
-3
No files matched your search
@@ -30,7 +30,7 @@ static int empty_set_attribute(CAT_VALUE_Value *self, const char *name,
|
||||
}
|
||||
|
||||
static CAT_VALUE_Vtable g_empty_vtable = {
|
||||
.type_name = "Object",
|
||||
.type_name = "object",
|
||||
.kind = CAT_VALUE_KIND_TABLE,
|
||||
.get_attribute = { empty_get_attribute },
|
||||
.set_attribute = { empty_set_attribute },
|
||||
|
||||
@@ -84,7 +84,7 @@ static void table_destroy(CAT_VALUE_Value *self)
|
||||
}
|
||||
|
||||
static CAT_VALUE_Vtable g_table_vtable = {
|
||||
.type_name = "Object",
|
||||
.type_name = "object",
|
||||
.kind = CAT_VALUE_KIND_TABLE,
|
||||
.call = { table_call },
|
||||
.get_attribute = { table_get_attribute },
|
||||
|
||||
Reference in new issue
Block a user