Category: Language-C interface
Superclass: CCallable
I am not part of the Smalltalk definition. My instances are able to convert blocks into C functions that can be passed to C.

Method category index

instance creation (class)
accessing (instance)
restoring (instance)

instance creation (class)

for: aBlock returning: returnTypeSymbol withArgs: argsArray
Answer a CCallbackDescriptor with the given block, return type and arguments.

top


accessing (instance)

block
Answer the block of the function represented by the receiver.

block: aBlock

Set the block of the function represented by the receiver.

top


restoring (instance)

link
Make the address of the function point to the registered address.

top