OSDN Git Service

8e14d63ee345be661171dbfccd7bf9f0c9e9879e
[pf3gnuchains/gcc-fork.git] / libobjc / objc / deprecated / struct_objc_symtab.h
1 /* Whereas a Module (defined further down) is the root (typically) of a file,
2    a Symtab is the root of the class and category definitions within the
3    module.  
4    
5    A Symtab contains a variable length array of pointers to classes and
6    categories  defined in the module.   */
7 typedef struct objc_symtab {
8   unsigned long sel_ref_cnt;                     /* Unknown. */
9   SEL        refs;                              /* Unknown. */
10   unsigned short cls_def_cnt;                   /* Number of classes compiled
11                                                   (defined) in the module. */
12   unsigned short cat_def_cnt;                   /* Number of categories 
13                                                   compiled (defined) in the 
14                                                   module. */
15
16   void      *defs[1];                           /* Variable array of pointers.
17                                                   cls_def_cnt of type Class 
18                                                   followed by cat_def_cnt of
19                                                   type Category_t, followed
20                                                   by a NULL terminated array
21                                                   of objc_static_instances. */
22 } Symtab,   *Symtab_t;
23