Inline c code should have a common method of reporting usage/runtime errors.
A few ideas: Global error reporting function provided by the RCG. Have an error flag output that gets sent to an epics variable.
If we rewrote how we did inline functions, replacing the nested functions with a context oriented interface, maybe that context would have a signalling method.