[squeak-dev] FFI: FFI-Unix-mt.5.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Apr 20 09:08:15 UTC 2021


Marcel Taeumel uploaded a new version of FFI-Unix to project FFI:
http://source.squeak.org/FFI/FFI-Unix-mt.5.mcz

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

Name: FFI-Unix-mt.5
Author: mt
Time: 20 April 2021, 11:08:15.269233 am
UUID: 26f1ddfe-b5d1-8e48-b8eb-05e5c5f2ed6c
Ancestors: FFI-Unix-mtf.4

Minor clean up. Auto-generated field accessors are no longer put into the same package but a separate "autogenerated" protocol to avoid checking in platform-specific "code caches".

=============== Diff against FFI-Unix-mtf.4 ===============

Item was changed:
+ X11ID subclass: #X11Drawable
- Object subclass: #X11Drawable
  	instanceVariableNames: 'display xid'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'FFI-Unix-Examples'!

Item was removed:
- ----- Method: X11Drawable class>>fields (in category 'field definition') -----
- fields
- 	"X11Drawable defineFields"
- 	^#( nil 'void*' )!

Item was removed:
- ----- Method: X11Drawable class>>none (in category 'instance creation') -----
- none
- "Universal null resource or null atom"
- 	^ self new!

Item was added:
+ ExternalTypeAlias subclass: #X11ID
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'FFI-Unix-Examples'!
+ 
+ !X11ID commentStamp: 'mt 6/4/2020 19:16' prior: 0!
+ I am an opaque handle in X11.!

Item was added:
+ ----- Method: X11ID class>>originalTypeName (in category 'field definition') -----
+ originalTypeName
+ 	"
+ 	self defineFields
+ 	"
+ 	^ 'size_t' "or always uint32_t ??"!

Item was changed:
+ X11ID subclass: #X11Window
- X11Drawable subclass: #X11Window
  	instanceVariableNames: ''
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'FFI-Unix-Examples'!



More information about the Squeak-dev mailing list