Skip to content
Permalink
Browse files

Move registerAsExternalResource from UFFI to Deprecated80

Fix #3917
  • Loading branch information
astares committed Jul 13, 2019
1 parent 9dff4a4 commit c63c5d2343979817d96309d493e6c4127fccc308
Showing with 8 additions and 7 deletions.
  1. +8 −0 src/Deprecated80/ExternalObject.extension.st
  2. +0 −7 src/UnifiedFFI/ExternalObject.extension.st
@@ -0,0 +1,8 @@
Extension { #name : #ExternalObject }

{ #category : #'*Deprecated80' }
ExternalObject >> registerAsExternalResource [
self deprecated: 'Use #autoRelease instead.' on: '2016-01-22' in: #Pharo5.
self isExternalAddress ifFalse: [ ^ self ].
^ self getHandle registerAsExternalResource
]
@@ -10,10 +10,3 @@ ExternalObject >> autoRelease [
ExternalObject >> pointer [
^ self getHandle pointer
]

{ #category : #'*UnifiedFFI' }
ExternalObject >> registerAsExternalResource [
self deprecated: 'Use #autoRelease instead.' on: '2016-01-22' in: #Pharo5.
self isExternalAddress ifFalse: [ ^ self ].
^ self getHandle registerAsExternalResource
]

0 comments on commit c63c5d2

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