mirror of git://gcc.gnu.org/git/gcc.git
24 lines
1.2 KiB
C
24 lines
1.2 KiB
C
/* Whereas a Module (defined further down) is the root (typically) of a file,
|
|
a Symtab is the root of the class and category definitions within the
|
|
module.
|
|
|
|
A Symtab contains a variable length array of pointers to classes and
|
|
categories defined in the module. */
|
|
typedef struct objc_symtab {
|
|
unsigned long sel_ref_cnt; /* Unknown. */
|
|
SEL refs; /* Unknown. */
|
|
unsigned short cls_def_cnt; /* Number of classes compiled
|
|
(defined) in the module. */
|
|
unsigned short cat_def_cnt; /* Number of categories
|
|
compiled (defined) in the
|
|
module. */
|
|
|
|
void *defs[1]; /* Variable array of pointers.
|
|
cls_def_cnt of type Class
|
|
followed by cat_def_cnt of
|
|
type Category_t, followed
|
|
by a NULL terminated array
|
|
of objc_static_instances. */
|
|
} Symtab, *Symtab_t;
|
|
|