Back: CCallable-restoring Up: Base classes Forward: CCallbackDescriptor class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.22 CCallbackDescriptor

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

1.22.1 CCallbackDescriptor class: instance creation  (class)
1.22.2 CCallbackDescriptor: accessing  (instance)
1.22.3 CCallbackDescriptor: restoring  (instance)


1.22.1 CCallbackDescriptor class: instance creation

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


1.22.2 CCallbackDescriptor: accessing

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

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


1.22.3 CCallbackDescriptor: restoring

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



Back: CCallbackDescriptor-accessing Up: CCallbackDescriptor Forward: CChar   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on July, 23 2009 using texi2html