Skip to content
Permalink
Browse files

moved extension from UnifiedFFI to FFI-Kernel

  • Loading branch information...
oliveiraallex committed Mar 29, 2019
1 parent 1b114c6 commit 1cab3f4f02cbc7a318298d0e624740a2ef84f766
Showing with 10 additions and 10 deletions.
  1. +10 −0 src/FFI-Kernel/ExternalData.class.st
  2. +0 −10 src/UnifiedFFI/ExternalData.extension.st
@@ -81,6 +81,16 @@ ExternalData >> fromCStrings [
^strings
]

{ #category : #printing }
ExternalData >> printOn: stream [

stream
nextPut: $(;
print: type;
nextPut: $).
self getHandle printOn: stream.
]

{ #category : #private }
ExternalData >> setHandle: aHandle type: aType [
handle := aHandle.
@@ -26,16 +26,6 @@ ExternalData >> copyFrom: start to: stop [
^ self getHandle copyFrom: start to: stop
]

{ #category : #'*UnifiedFFI' }
ExternalData >> printOn: stream [

stream
nextPut: $(;
print: type;
nextPut: $).
self getHandle printOn: stream.
]

{ #category : #'*UnifiedFFI' }
ExternalData >> readString [
self isNull ifTrue: [ ^ nil ].

0 comments on commit 1cab3f4

Please sign in to comment.
You can’t perform that action at this time.