Lines Matching full:interceptor
24 // These typedefs should be used only in the interceptor definitions to replace
33 // How to add an interceptor:
37 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in
44 // By default, REAL(foo) will be visible only inside your interceptor, and if
49 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to:
53 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or
58 // INTERCEPTOR(int, foo, const char *bar, double baz) {...}
163 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR
165 // without defining INTERCEPTOR(..., foo, ...). For example, if you override
166 // foo with an interceptor for other function.
178 #define INTERCEPTOR(ret_type, func, ...) \
187 INTERCEPTOR(ret_type, func, __VA_ARGS__)
197 #define INTERCEPTOR(ret_type, func, ...) \