[warning-fix][-Wreturn-type]:change return type to void, clean up block comment
This commit is contained in:
@@ -88,7 +88,7 @@ struct EntityTag_ {
|
||||
Entity ENTITYget_superclass (Entity entity);
|
||||
Entity ENTITYput_superclass (Entity entity);
|
||||
int ENTITYhas_explicit_attributes (Entity e);
|
||||
Linked_List ENTITYget_first_attribs(Entity entity, Linked_List result);
|
||||
void ENTITYget_first_attribs(Entity entity, Linked_List result);
|
||||
|
||||
typedef struct SelectTag_ *SelectTag;
|
||||
struct SelectTag_ {
|
||||
|
||||
@@ -761,8 +761,7 @@ ENTITYget_superclass( Entity entity ) {
|
||||
return ( tag ? tag -> superclass : 0 );
|
||||
}
|
||||
|
||||
Linked_List
|
||||
ENTITYget_first_attribs( Entity entity, Linked_List result ) {
|
||||
void ENTITYget_first_attribs( Entity entity, Linked_List result ) {
|
||||
Linked_List supers;
|
||||
|
||||
LISTdo( ENTITYget_attributes( entity ), attr, Generic )
|
||||
@@ -777,13 +776,13 @@ ENTITYget_first_attribs( Entity entity, Linked_List result ) {
|
||||
/* Attributes are divided into four categories:
|
||||
** these are not exclusive as far as I can tell! I added defs below DAS
|
||||
**
|
||||
** . simple explicit
|
||||
** . simple explicit
|
||||
** . type shifters // not DERIVEd - redefines type in ancestor
|
||||
// VARget_initializer(v) returns null
|
||||
|
||||
** . simple derived // DERIVEd - is calculated - VARget_initializer(v)
|
||||
// returns non-zero, VARis_derived(v) is non-zero
|
||||
|
||||
** // VARget_initializer(v) returns null
|
||||
**
|
||||
** . simple derived // DERIVEd - is calculated - VARget_initializer(v)
|
||||
** // returns non-zero, VARis_derived(v) is non-zero
|
||||
**
|
||||
** . overriding // includes type shifters and derived
|
||||
**
|
||||
** All of them are added to the dictionary.
|
||||
|
||||
Reference in New Issue
Block a user