--- a/ExternalFunctionCallback.st Wed Jul 06 06:50:27 2016 +0200
+++ b/ExternalFunctionCallback.st Sat Jul 09 21:10:24 2016 +0100
@@ -11,6 +11,8 @@
"
"{ Package: 'stx:libbasic' }"
+"{ NameSpace: Smalltalk }"
+
ExternalFunction subclass:#ExternalFunctionCallback
instanceVariableNames:'returnType argumentTypes flags action'
classVariableNames:'CallBackRegistry'
@@ -272,18 +274,18 @@
Then, the code is generated with:
cb generateClosure.
- After that, the callBack-functions address can be aquired with:
+ After that, the callBack-functions address can be acquired with:
cb address. 'can be passed to C'.
and handed out to C. (you can also hand out the callBack directly - as it is a subclass of
ExternalBytes.
The actual action of the callback can be changed (at any time later) with:
- cb action:[:args | Transcript showCR:args. true].
+ cb action:[:args | Transcript showCR:args. true].
Eventually, the callback MUST be released:
- cb release.
+ cb release.
[author:]
- Claus Gittinger
+ Claus Gittinger
"
!
@@ -846,10 +848,10 @@
!ExternalFunctionCallback class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ExternalFunctionCallback.st,v 1.22 2013-02-05 16:00:13 stefan Exp $'
+ ^ '$Header$'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/ExternalFunctionCallback.st,v 1.22 2013-02-05 16:00:13 stefan Exp $'
+ ^ '$Header$'
! !