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 CCallbackDescriptor with the given block, return type and arguments.


1.22.2 CCallbackDescriptor: accessing

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

block: aBlock
Set the block of the function 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 August, 19 2010 using texi2html