Home | History | Annotate | Download | only in interception

Lines Matching defs:INTERCEPTOR

26 // These typedefs should be used only in the interceptor definitions to replace
36 // How to add an interceptor:
40 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in
47 // By default, REAL(foo) will be visible only inside your interceptor, and if
52 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to:
56 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or
61 // INTERCEPTOR(int, foo, const char *bar, double baz) {...}
196 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR
198 // without defining INTERCEPTOR(..., foo, ...). For example, if you override
199 // foo with an interceptor for other function.
215 #define INTERCEPTOR(ret_type, func, ...) \
222 #define INTERCEPTOR(ret_type, func, ...) \
231 INTERCEPTOR(ret_type, func, __VA_ARGS__)
241 #define INTERCEPTOR(ret_type, func, ...) \