G-Golf VFunc Info low level API.
GIVFuncInfo — Struct representing a virtual function
GIVFuncInfo
represents a virtual function.
A virtual function is a callable object that belongs to either a Object Info or a Interface Info.
Note: in this section, the info argument is [must be] a pointer to
a GIVFuncInfo
.
Returns a (possibly empty) list.
Obtains and returns the flags for the virtual function info. See %gi-vfunc-info-flags for the possible flag values.
Returns an offset or #f
.
Obtains and returns the offset of the virtual function in the class
struct. The value #f
indicates that the offset is unknown.
Returns a pointer or #f
.
Obtains and returns a signal (a pointer to a Signal Info) for the virtual function if one is set. The signal comes from the object or interface to which this virtual function belongs.
Returns a pointer or #f
.
If this virtual function has an associated invoker method, this procedure will return it (a pointer to a Function Info). An invoker method is a C entry point.
Not all virtuals will have invokers.
The GIFunctionInfo
, if one was returned, must be freed by calling
g-base-info-unref
<gi-flags>
: %gi-vfunc-info-flags ¶An instance of <gi-flags>, who’s members are the scheme
representation of the flags of a GIVFuncInfo
:
g-name: GIVFuncInfoFlags
name: gi-vfunc-info-flags
enum-set:
must-chain-up
must-override
must-not-override
throws