Returns whether or not the function func
can be found in the common header files, or within any headers
that you provide. If found, a macro is passed as a preprocessor constant to the compiler using the function name, in uppercase, prepended with HAVE_
.
To check functions in an additional library, you need to check that library first using have_library()
. The func
shall be either mere function name or function name with arguments.
For example, if have_func('foo')
returned true
, then the HAVE_FOO
preprocessor macro would be passed to the compiler.
Enters exclusive section and executes the block. Leaves the exclusive section automatically when the block exits. See example under MonitorMixin
.
Initializes the MonitorMixin
after being included in a class or when an object has been extended with the MonitorMixin
Return the number of observers associated with this object.
Push an event back on the head of the stream. This method has (theoretically) infinite depth.
Unescapes all possible entities
| FUNCTION_NAME ‘(’ ( expr ( ‘,’ expr )* )? ‘)’