FFI: FFI-Tools-mt.18.mcz

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

FFI: FFI-Tools-mt.18.mcz

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

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

Name: FFI-Tools-mt.18
Author: mt
Time: 17 June 2020, 11:49:53.132028 am
UUID: 2fa1e5d5-aca8-a04c-b011-42d77447d585
Ancestors: FFI-Tools-mt.17

Make dynamic icon selection for robust to not break tools. This can happen if an implementor of #fields makes a mistake such as forgetting the "^". :-)

=============== Diff against FFI-Tools-mt.17 ===============

Item was changed:
  ----- Method: ExternalStructure class>>toolIcon (in category '*FFI-Tools') -----
  toolIcon
 
+ ^ [self isTypeAlias
- ^ self isTypeAlias
  ifTrue: [#externalTypeAlias]
+ ifFalse: [#externalStructure]]
+ ifError: [#blank]!
- ifFalse: [#externalStructure]!