CACAO
Macros | Functions
access.hpp File Reference

Go to the source code of this file.

Macros

#define SAME_PACKAGE(a, b)
 

Functions

bool access_is_accessible_class (classinfo *referer, classinfo *cls)
 
bool access_is_accessible_member (classinfo *referer, classinfo *declarer, int32_t memberflags)
 
bool access_check_field (fieldinfo *f, int callerdepth)
 
bool access_check_method (methodinfo *m, int callerdepth)
 

Macro Definition Documentation

#define SAME_PACKAGE (   a,
 
)
Value:
((a)->classloader == (b)->classloader && \
(a)->packagename == (b)->packagename)

Definition at line 40 of file access.hpp.

Function Documentation

bool access_check_field ( fieldinfo f,
int  callerdepth 
)

Definition at line 208 of file access.cpp.

bool access_check_method ( methodinfo m,
int  callerdepth 
)

Definition at line 271 of file access.cpp.

bool access_is_accessible_class ( classinfo referer,
classinfo cls 
)

Definition at line 66 of file access.cpp.

bool access_is_accessible_member ( classinfo referer,
classinfo declarer,
int32_t  memberflags 
)

Definition at line 125 of file access.cpp.