All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
callContext.h File Reference

Functions for recording call locations. More...

+ Include dependency graph for callContext.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.



Detailed Description

Functions for recording call locations.

Many macros want to record the location in which they are invoked. In fact, this is the most useful feature that function-like macros have over regular functions. This code provides a standard way to collect and pass that contextual information around. There are two parts. First is a small structure which holds the contextual information. Next is a macro which will produce a temporary structure containing the local contextual information. The intended usage is in a macro.

Definition in file callContext.h.