QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pr_obj.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  pr_category_s
 
struct  pr_class_s
 
struct  pr_id_s
 
struct  pr_ivar_list_s
 
struct  pr_ivar_list_s::pr_ivar_s
 
struct  pr_method_description_list_s
 
struct  pr_method_description_list_s::pr_method_description_s
 
struct  pr_method_list_s
 
struct  pr_method_list_s::pr_method_s
 
struct  pr_module_s
 
struct  pr_protocol_list_s
 
struct  pr_protocol_s
 
struct  pr_sel_s
 
struct  pr_static_instances_s
 
struct  pr_super_s
 
struct  pr_symtab_s
 

Macros

#define __PR_CLS_INFO(cls)   ((cls)->info)
 
#define __PR_CLS_ISINFO(cls, mask)   ((__PR_CLS_INFO (cls) & (mask)) == (mask))
 
#define __PR_CLS_SETINFO(cls, mask)   (__PR_CLS_INFO (cls) |= (mask))
 
#define _PR_CLS_CLASS   0x1
 
#define _PR_CLS_INITIALIZED   0x8
 
#define _PR_CLS_META   0x2
 
#define _PR_CLS_RESOLV   0x8
 
#define PR_BITS_PER_INT   (sizeof (pr_int_t) * 8)
 
#define PR_CLS_GETNUMBER(cls)   (__CLS_INFO (cls) >> (PR_BITS_PER_INT / 2))
 
#define PR_CLS_ISCLASS(cls)   ((cls) && __PR_CLS_ISINFO (cls, _PR_CLS_CLASS))
 
#define PR_CLS_ISINITIALIZED(cls)   __PR_CLS_ISINFO (cls, _PR_CLS_INITIALIZED)
 
#define PR_CLS_ISMETA(cls)   ((cls) && __PR_CLS_ISINFO (cls, _PR_CLS_META))
 
#define PR_CLS_ISRESOLV(cls)   __PR_CLS_ISINFO (cls, _PR_CLS_RESOLV)
 
#define PR_CLS_SETINITIALIZED(cls)   __PR_CLS_SETINFO (cls, _PR_CLS_INITIALIZED)
 
#define PR_CLS_SETNUMBER(cls, num)
 
#define PR_CLS_SETRESOLV(cls)   __PR_CLS_SETINFO (cls, _PR_CLS_RESOLV)
 

Typedefs

typedef struct pr_category_s pr_category_t
 
typedef struct pr_class_s pr_class_t
 
typedef struct pr_id_s pr_id_t
 
typedef struct pr_ivar_list_s pr_ivar_list_t
 
typedef struct pr_ivar_s pr_ivar_t
 
typedef struct
pr_method_description_list_s 
pr_method_description_list_t
 
typedef struct
pr_method_description_s 
pr_method_description_t
 
typedef struct pr_method_list_s pr_method_list_t
 
typedef struct pr_method_s pr_method_t
 
typedef struct pr_module_s pr_module_t
 
typedef struct pr_protocol_list_s pr_protocol_list_t
 
typedef struct pr_protocol_s pr_protocol_t
 
typedef struct pr_sel_s pr_sel_t
 
typedef struct
pr_static_instances_s 
pr_static_instances_t
 
typedef struct pr_super_s pr_super_t
 
typedef struct pr_symtab_s pr_symtab_t
 

Macro Definition Documentation

#define __PR_CLS_INFO (   cls)    ((cls)->info)
#define __PR_CLS_ISINFO (   cls,
  mask 
)    ((__PR_CLS_INFO (cls) & (mask)) == (mask))
#define __PR_CLS_SETINFO (   cls,
  mask 
)    (__PR_CLS_INFO (cls) |= (mask))
#define _PR_CLS_CLASS   0x1
#define _PR_CLS_INITIALIZED   0x8
#define _PR_CLS_META   0x2
#define _PR_CLS_RESOLV   0x8
#define PR_BITS_PER_INT   (sizeof (pr_int_t) * 8)
#define PR_CLS_GETNUMBER (   cls)    (__CLS_INFO (cls) >> (PR_BITS_PER_INT / 2))
#define PR_CLS_ISCLASS (   cls)    ((cls) && __PR_CLS_ISINFO (cls, _PR_CLS_CLASS))
#define PR_CLS_ISINITIALIZED (   cls)    __PR_CLS_ISINFO (cls, _PR_CLS_INITIALIZED)
#define PR_CLS_ISMETA (   cls)    ((cls) && __PR_CLS_ISINFO (cls, _PR_CLS_META))
#define PR_CLS_ISRESOLV (   cls)    __PR_CLS_ISINFO (cls, _PR_CLS_RESOLV)
#define PR_CLS_SETINITIALIZED (   cls)    __PR_CLS_SETINFO (cls, _PR_CLS_INITIALIZED)
#define PR_CLS_SETNUMBER (   cls,
  num 
)
Value:
| (num) << (PR_BITS_PER_INT / 2))
#define __PR_CLS_INFO(cls)
Definition: pr_obj.h:38
#define PR_BITS_PER_INT
Definition: pr_obj.h:36
#define U
Definition: console.c:50
client_static_t cls
Definition: cl_main.c:92
#define PR_CLS_SETRESOLV (   cls)    __PR_CLS_SETINFO (cls, _PR_CLS_RESOLV)

Typedef Documentation

typedef struct pr_category_s pr_category_t
typedef struct pr_class_s pr_class_t
typedef struct pr_id_s pr_id_t
typedef struct pr_ivar_s pr_ivar_t
typedef struct pr_method_description_s pr_method_description_t
typedef struct pr_method_s pr_method_t
typedef struct pr_module_s pr_module_t
typedef struct pr_protocol_s pr_protocol_t
typedef struct pr_sel_s pr_sel_t
typedef struct pr_super_s pr_super_t
typedef struct pr_symtab_s pr_symtab_t