This cleans up some of the mess this code was in. Functions we need to wrap can now have a standard implementation using WRAP_FUNCTION - that macro declares the __real and __wrap functions and a wrapped_$func global variable. Tests can set that variable to their desired functions and it will be then be called on demand. |
||
|---|---|---|
| .. | ||
| protocol-xchangedevicecontrol.c | ||