FFI: FFI-Pools-mt.31.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FFI: FFI-Pools-mt.31.mcz

commits-2
Marcel Taeumel uploaded a new version of FFI-Pools to project FFI:
http://source.squeak.org/FFI/FFI-Pools-mt.31.mcz

==================== Summary ====================

Name: FFI-Pools-mt.31
Author: mt
Time: 27 May 2021, 5:00:18.391121 pm
UUID: d8a5ee3f-5f1e-4849-adfe-f13c2af13d19
Ancestors: FFI-Pools-mt.30

Remove instVar shadow.

=============== Diff against FFI-Pools-mt.30 ===============

Item was changed:
  ----- Method: ExternalTypePool class>>assuredPoolVarNameFor: (in category 'housekeeping') -----
  assuredPoolVarNameFor: type
 
+ | poolVarName |
+ poolVarName := (self poolVarNameFor: type) asSymbol.
+ (self classPool includesKey: poolVarName)
+ ifFalse: [self addClassVarName: poolVarName].
+ self classPool at: poolVarName put: type.
+ ^ poolVarName!
- | name |
- name := (self poolVarNameFor: type) asSymbol.
- (self classPool includesKey: name)
- ifFalse: [self addClassVarName: name].
- self classPool at: name put: type.
- ^ name!