|
|
6.24 CFunctionDescriptor
- Defined in namespace Smalltalk
- Category: Language-C interface
- 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.
6.24.1 CFunctionDescriptor class: testing
- addressOf: function
- Answer the address (CObject) of the function which is registered (on the C side) with the given name, or zero if no such a function is registered.
- isFunction: function
- Answer whether a function is registered (on the C side) with the given name or is dynamically loadable.
6.24.2 CFunctionDescriptor: accessing
- address
- Answer the address (CObject) of the function represented by the receiver
- address: aCObject
- Set to aCObject the address of the function represented by the receiver
- isValid
- Answer whether the function represented by the receiver is actually a registered one
- name
- Answer the name of the function (on the C side) represented by the receiver
6.24.3 CFunctionDescriptor: printing
- printOn: aStream
- Print a representation of the receiver onto aStream
|