CFunction

← Reference
Io

A wrapper around a C function exposed to Io as an activatable slot.

==(anObject)

Returns self if the argument is a CFunction with the same internal C function pointer.

asSimpleString

Returns the CFunction name.

asString

Same as asSimpleString.

id

Returns a number containing a unique id for the receiver's internal C function.

name

Returns the CFunction name in the form CFunction_Pointer.

performOn(target, blockLocals, optionalMessage,

optionalContext) Activates the CFunctions with the supplied settings.

profilerTime

Returns clock() time spent in compiler in seconds.

setProfilerOn(aBool)

If aBool is true, the global block profiler is enabled, if false it is disabled. Returns self.

typeName

Returns the owning type of the CFunction or nil if the CFunction can be called on any object.

uniqueName

Returns the name given to the CFunction.