#define return_if_no_current_trace (tr) #define return_val_if_no_current_trace (tr, val) #define ND_GTK_GET (res, widget, key) |
#define return_if_no_current_trace(tr) |
The macro checks whether there is currently a trace being edited. If that is the case, this trace is stored in tr, otherwise the macro returns from the current function.
variable in which current trace is stored.
#define return_val_if_no_current_trace(tr, val) |
This is the same macro as return_if_no_current_trace(), but it returns val is there is no current trace.
variable in which current trace is stored.
return value when there is no current trace.