correct a bunch of syntax errors

This commit is contained in:
Bill Currie 2002-05-15 19:27:23 +00:00
parent 308fa78fc6
commit 539d0ac10e

View file

@ -75,24 +75,24 @@ typedef struct pr_category_s {
pointer_t protocols; // pr_protocol_list_t pointer_t protocols; // pr_protocol_list_t
} pr_category_t; } pr_category_t;
typedef pr_protocol_list_s { typedef struct pr_protocol_list_s {
pointer_t next; pointer_t next;
int count; int count;
pointer_t list[1]; pointer_t list[1];
} pr_protocol_list_t; } pr_protocol_list_t;
typedef pr_method_list_s { typedef struct pr_method_list_s {
pointer_t method_next; pointer_t method_next;
int method_count; int method_count;
struct pr_method_s { struct pr_method_s {
SEL method_name; pr_sel_t method_name;
string_t method_types; string_t method_types;
func_t method_imp; // typedef id (id, SEL, ...) IMP func_t method_imp; // typedef id (id, SEL, ...) IMP
} method_list[1]; } method_list[1];
} pr_method_list_t; } pr_method_list_t;
typedef pr_method_s pr_method_t; typedef struct pr_method_s pr_method_t;
typedef pr_ivar_list_s { typedef struct pr_ivar_list_s {
int ivar_count; int ivar_count;
struct pr_ivar_s { struct pr_ivar_s {
string_t ivar_name; string_t ivar_name;
@ -100,6 +100,6 @@ typedef pr_ivar_list_s {
int ivar_offset; int ivar_offset;
} ivar_list[1]; } ivar_list[1];
} pr_ivar_list_t; } pr_ivar_list_t;
typedef pr_ivar_s pr_ivar_t; typedef struct pr_ivar_s pr_ivar_t;
#endif//__pr_obj_h #endif//__pr_obj_h