new built-in variables for each type

This commit is contained in:
cozis
2022-08-14 13:04:53 +02:00
parent d24877c5f3
commit bc516f470a
26 changed files with 300 additions and 36 deletions
+5
View File
@@ -41,6 +41,11 @@ TypeObject t_type = {
.op_eql = op_eql,
};
TypeObject *Object_GetTypeType()
{
return &t_type;
}
static _Bool op_eql(Object *self, Object *other)
{
return self == other;