aop_capture_lhs_var_scope() Return Values
Defines | |
#define | AOP_GLOBAL_SCOPE -1 |
#define | AOP_FILE_SCOPE -2 |
#define | AOP_MEMORY_SCOPE -3 |
#define | AOP_LOCAL_SCOPE(SCOPE) (SCOPE >= 0) |
Detailed Description
The aop_capture_lhs_var_scope() returns one of these values when the variable assigned to does not have function local scope (or when the assignment does not assign directly to a variable).
Define Documentation
#define AOP_FILE_SCOPE -2 |
The variable is only accessible by name from the current file.
#define AOP_GLOBAL_SCOPE -1 |
The variable is accessible by name from anywhere in the program.
#define AOP_LOCAL_SCOPE | ( | SCOPE | ) | (SCOPE >= 0) |
Use this macro to check if a variable has function-local scope.
#define AOP_MEMORY_SCOPE -3 |
Used for an assignment that does not assign to a variable. For example, the assignment may be to a field in a struct or a dereferenced pointer.
