MGH_IS_CALLBACK
Function
MGH_IS_CALLBACK
Purpose
This function determines whether a variable represents a widget
callback, in the sense used elsewhere in my widget code. The
function has been created and given its name to allow clearer
event-handling code.
Calling Sequence
Result = mgh_is_callback(value)
Positional Parameters
var (input)
The variable to be examined.
Return Value
This function returns 1 if the variable is a single-element
MGH_WIDGET_CALLBACK structure, otherwise 0.
###########################################################################
Copyright (c) 2001 NIWA:
http://www.niwa.co.nz/
Licensed under the MIT open source license:
http://www.opensource.org/licenses/mit-license.php
###########################################################################
Modification History
Mark Hadfield, 2001=06:
Written.
Mark Hadfield, 2013-11:
Code updated.