diff options
author | Søren Sandmann <sandmann@redhat.com> | 2007-09-05 02:59:52 -0400 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2007-09-05 02:59:52 -0400 |
commit | aab51ea15f4747bc9ed02ef0070f709ee9772829 (patch) | |
tree | cf0181f27983471bdd52826ee7fa44e32fd3a4ac /ast.c | |
parent | f68dde83dbbd6ff3a8c8105e155f9974fe14e849 (diff) |
Rename class type to object type
Diffstat (limited to 'ast.c')
-rw-r--r-- | ast.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -402,20 +402,20 @@ ast_type_spec_new_function (ast_type_spec_t *return_, } void -ast_type_spec_init_class (ast_type_spec_t *type_spec, - ast_class_definition_t *class) +ast_type_spec_init_object (ast_type_spec_t *type_spec, + ast_class_definition_t *class) { - type_spec->common.type = AST_CLASS_TYPE; + type_spec->common.type = AST_OBJECT_TYPE; - type_spec->class.class = class; + type_spec->object.class = class; } ast_type_spec_t * -ast_type_spec_new_class (ast_class_definition_t *class) +ast_type_spec_new_object (ast_class_definition_t *class) { - ast_type_spec_t *type_spec = ast_type_spec_new (AST_CLASS_TYPE); + ast_type_spec_t *type_spec = ast_type_spec_new (AST_OBJECT_TYPE); - ast_type_spec_init_class (type_spec, class); + ast_type_spec_init_object (type_spec, class); return type_spec; } |