Move the ObjQC data into a resource block

This makes it nice and private (though with the cached pointer, ObjQC is
still a first-class component).
This commit is contained in:
Bill Currie 2020-02-25 23:14:18 +09:00
parent 66dd3ef070
commit 3577d27a45
2 changed files with 288 additions and 215 deletions

View file

@ -1636,8 +1636,6 @@ typedef struct {
strref_t *tstr; ///< Linked list of temporary strings. strref_t *tstr; ///< Linked list of temporary strings.
} prstack_t; } prstack_t;
struct obj_list_s;
struct progs_s { struct progs_s {
int (*parse_field) (progs_t *pr, const char *key, const char *value); int (*parse_field) (progs_t *pr, const char *key, const char *value);
@ -1772,18 +1770,7 @@ struct progs_s {
/// \name obj info /// \name obj info
///@{ ///@{
unsigned selector_index; struct probj_resources_s *pr_objective_resources;
unsigned selector_index_max;
struct obj_list_s **selector_sels;
string_t *selector_names;
struct hashtab_s *selector_hash;
struct hashtab_s *classes;
struct hashtab_s *load_methods;
struct obj_list_s *unresolved_classes;
struct obj_list_s *unclaimed_categories;
struct obj_list_s *unclaimed_proto_list;
struct obj_list_s *module_list;
struct obj_list_s *class_tree_list;
///@} ///@}
/// \name debugging /// \name debugging

File diff suppressed because it is too large Load diff