FFI: FFI-Examples-mt.6.mcz

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

FFI: FFI-Examples-mt.6.mcz

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

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

Name: FFI-Examples-mt.6
Author: mt
Time: 2 June 2020, 7:46:53.373821 pm
UUID: 3defdf98-0ee7-1949-a9f4-6cde06858a2a
Ancestors: FFI-Examples-mt.5

Updates example structs with up-to-date code generation format.

=============== Diff against FFI-Examples-mt.5 ===============

Item was changed:
  ----- Method: X64TestStruct>>eight (in category 'accessing') -----
  eight
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 57!

Item was changed:
  ----- Method: X64TestStruct>>eight: (in category 'accessing') -----
  eight: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 57 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>eleven (in category 'accessing') -----
  eleven
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 81!

Item was changed:
  ----- Method: X64TestStruct>>eleven: (in category 'accessing') -----
  eleven: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 81 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>fifteen (in category 'accessing') -----
  fifteen
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 113!

Item was changed:
  ----- Method: X64TestStruct>>fifteen: (in category 'accessing') -----
  fifteen: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 113 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>five (in category 'accessing') -----
  five
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 33!

Item was changed:
  ----- Method: X64TestStruct>>five: (in category 'accessing') -----
  five: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 33 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>four (in category 'accessing') -----
  four
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 25!

Item was changed:
  ----- Method: X64TestStruct>>four: (in category 'accessing') -----
  four: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 25 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>fourteen (in category 'accessing') -----
  fourteen
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 105!

Item was changed:
  ----- Method: X64TestStruct>>fourteen: (in category 'accessing') -----
  fourteen: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 105 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>nine (in category 'accessing') -----
  nine
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 65!

Item was changed:
  ----- Method: X64TestStruct>>nine: (in category 'accessing') -----
  nine: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 65 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>one (in category 'accessing') -----
  one
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 1!

Item was changed:
  ----- Method: X64TestStruct>>one: (in category 'accessing') -----
  one: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 1 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>seven (in category 'accessing') -----
  seven
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 49!

Item was changed:
  ----- Method: X64TestStruct>>seven: (in category 'accessing') -----
  seven: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 49 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>six (in category 'accessing') -----
  six
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 41!

Item was changed:
  ----- Method: X64TestStruct>>six: (in category 'accessing') -----
  six: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 41 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>sixteen (in category 'accessing') -----
  sixteen
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 121!

Item was changed:
  ----- Method: X64TestStruct>>sixteen: (in category 'accessing') -----
  sixteen: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 121 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>ten (in category 'accessing') -----
  ten
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 73!

Item was changed:
  ----- Method: X64TestStruct>>ten: (in category 'accessing') -----
  ten: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 73 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>thirteen (in category 'accessing') -----
  thirteen
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 97!

Item was changed:
  ----- Method: X64TestStruct>>thirteen: (in category 'accessing') -----
  thirteen: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 97 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>three (in category 'accessing') -----
  three
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle signedLongLongAt: 17!

Item was changed:
  ----- Method: X64TestStruct>>three: (in category 'accessing') -----
  three: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle signedLongLongAt: 17 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>twelve (in category 'accessing') -----
  twelve
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 89!

Item was changed:
  ----- Method: X64TestStruct>>twelve: (in category 'accessing') -----
  twelve: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 89 put: anObject!

Item was changed:
  ----- Method: X64TestStruct>>two (in category 'accessing') -----
  two
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  ^handle doubleAt: 9!

Item was changed:
  ----- Method: X64TestStruct>>two: (in category 'accessing') -----
  two: anObject
  "This method was automatically generated. See X64TestStruct class>>fields."
+ <generated>
  handle doubleAt: 9 put: anObject!

Item was changed:
  ----- Method: X64TestStruct2>>one (in category 'accessing') -----
  one
  "This method was automatically generated. See X64TestStruct2 class>>fields."
+ <generated>
  ^X64TestStruct fromHandle: (handle structAt: 1 length: 128)!

Item was changed:
  ----- Method: X64TestStruct2>>one: (in category 'accessing') -----
  one: anObject
  "This method was automatically generated. See X64TestStruct2 class>>fields."
+ <generated>
  handle structAt: 1 put: anObject getHandle length: 128.!

Item was changed:
  ----- Method: X64TestStruct2>>two (in category 'accessing') -----
  two
  "This method was automatically generated. See X64TestStruct2 class>>fields."
+ <generated>
  ^X64TestStruct fromHandle: (handle structAt: 129 length: 128)!

Item was changed:
  ----- Method: X64TestStruct2>>two: (in category 'accessing') -----
  two: anObject
  "This method was automatically generated. See X64TestStruct2 class>>fields."
+ <generated>
  handle structAt: 129 put: anObject getHandle length: 128.!

Item was changed:
  ----- Method: X64TestStruct3>>eight (in category 'accessing') -----
  eight
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 57!

Item was changed:
  ----- Method: X64TestStruct3>>eight: (in category 'accessing') -----
  eight: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 57 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>eighteen (in category 'accessing') -----
  eighteen
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^X64TestStruct2 fromHandle: (handle structAt: 257 length: 256)!

Item was changed:
  ----- Method: X64TestStruct3>>eighteen: (in category 'accessing') -----
  eighteen: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle structAt: 257 put: anObject getHandle length: 256.!

Item was changed:
  ----- Method: X64TestStruct3>>eleven (in category 'accessing') -----
  eleven
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 81!

Item was changed:
  ----- Method: X64TestStruct3>>eleven: (in category 'accessing') -----
  eleven: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 81 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>fifteen (in category 'accessing') -----
  fifteen
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 113!

Item was changed:
  ----- Method: X64TestStruct3>>fifteen: (in category 'accessing') -----
  fifteen: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 113 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>five (in category 'accessing') -----
  five
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 33!

Item was changed:
  ----- Method: X64TestStruct3>>five: (in category 'accessing') -----
  five: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 33 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>four (in category 'accessing') -----
  four
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 25!

Item was changed:
  ----- Method: X64TestStruct3>>four: (in category 'accessing') -----
  four: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 25 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>fourteen (in category 'accessing') -----
  fourteen
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 105!

Item was changed:
  ----- Method: X64TestStruct3>>fourteen: (in category 'accessing') -----
  fourteen: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 105 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>nine (in category 'accessing') -----
  nine
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 65!

Item was changed:
  ----- Method: X64TestStruct3>>nine: (in category 'accessing') -----
  nine: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 65 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>nineteen (in category 'accessing') -----
  nineteen
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
+ ^X64TestStruct fromHandle: (handle shortPointerAt: 513)!
- ^X64TestStruct fromHandle: (handle pointerAt: 513)!

Item was changed:
  ----- Method: X64TestStruct3>>nineteen: (in category 'accessing') -----
  nineteen: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
+ handle shortPointerAt: 513 put: anObject getHandle.!
- handle pointerAt: 513 put: anObject getHandle.!

Item was changed:
  ----- Method: X64TestStruct3>>one (in category 'accessing') -----
  one
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 1!

Item was changed:
  ----- Method: X64TestStruct3>>one: (in category 'accessing') -----
  one: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 1 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>seven (in category 'accessing') -----
  seven
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 49!

Item was changed:
  ----- Method: X64TestStruct3>>seven: (in category 'accessing') -----
  seven: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 49 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>seventeen (in category 'accessing') -----
  seventeen
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^X64TestStruct fromHandle: (handle structAt: 129 length: 128)!

Item was changed:
  ----- Method: X64TestStruct3>>seventeen: (in category 'accessing') -----
  seventeen: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle structAt: 129 put: anObject getHandle length: 128.!

Item was changed:
  ----- Method: X64TestStruct3>>six (in category 'accessing') -----
  six
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 41!

Item was changed:
  ----- Method: X64TestStruct3>>six: (in category 'accessing') -----
  six: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 41 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>sixteen (in category 'accessing') -----
  sixteen
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 121!

Item was changed:
  ----- Method: X64TestStruct3>>sixteen: (in category 'accessing') -----
  sixteen: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 121 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>ten (in category 'accessing') -----
  ten
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 73!

Item was changed:
  ----- Method: X64TestStruct3>>ten: (in category 'accessing') -----
  ten: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 73 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>thirteen (in category 'accessing') -----
  thirteen
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 97!

Item was changed:
  ----- Method: X64TestStruct3>>thirteen: (in category 'accessing') -----
  thirteen: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 97 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>three (in category 'accessing') -----
  three
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle signedLongLongAt: 17!

Item was changed:
  ----- Method: X64TestStruct3>>three: (in category 'accessing') -----
  three: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle signedLongLongAt: 17 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>twelve (in category 'accessing') -----
  twelve
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 89!

Item was changed:
  ----- Method: X64TestStruct3>>twelve: (in category 'accessing') -----
  twelve: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 89 put: anObject!

Item was changed:
  ----- Method: X64TestStruct3>>twenty (in category 'accessing') -----
  twenty
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
+ ^X64TestStruct2 fromHandle: (handle shortPointerAt: 517)!
- ^X64TestStruct2 fromHandle: (handle pointerAt: 517)!

Item was changed:
  ----- Method: X64TestStruct3>>twenty: (in category 'accessing') -----
  twenty: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
+ handle shortPointerAt: 517 put: anObject getHandle.!
- handle pointerAt: 517 put: anObject getHandle.!

Item was changed:
  ----- Method: X64TestStruct3>>two (in category 'accessing') -----
  two
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  ^handle doubleAt: 9!

Item was changed:
  ----- Method: X64TestStruct3>>two: (in category 'accessing') -----
  two: anObject
  "This method was automatically generated. See X64TestStruct3 class>>fields."
+ <generated>
  handle doubleAt: 9 put: anObject!