Category: Language-C interface
Superclass: CCallable
I am not part of the Smalltalk definition. My instances contain information about C functions that can be called from within Smalltalk, such as number and type of parameters. This information is used by the C callout mechanism to perform the actual call-out to C routines.

Method category index

instance creation (class)
testing (class)
accessing (instance)
printing (instance)
restoring (instance)

instance creation (class)

for: funcName returning: returnTypeSymbol withArgs: argsArray
Answer a CFunctionDescriptor with the given function name, return type and arguments. funcName must be a String.

top


testing (class)

addressOf: function
Answer whether a function is registered (on the C side) with the given name or is dynamically loadable.

isFunction: function

Answer whether a function is registered (on the C side) with the given name.

top


accessing (instance)

name
Answer the name of the function (on the C side) represented by the receiver

name: aString

Set the name of the function (on the C side) represented by the receiver

top


printing (instance)

printOn: aStream
Print a representation of the receiver onto aStream

top


restoring (instance)

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

top