Back: CFloat-accessing
Up: Class reference
Forward: CFunctionDescriptor class-testing
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

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  (class)
6.24.2 CFunctionDescriptor: accessing  (instance)
6.24.3 CFunctionDescriptor: printing  (instance)


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




This document was generated on May, 12 2002 using texi2html