FFI: FFI-Libraries-mt.2.mcz

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

FFI: FFI-Libraries-mt.2.mcz

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

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

Name: FFI-Libraries-mt.2
Author: mt
Time: 27 May 2021, 4:59:48.550121 pm
UUID: 191e8fd4-95c1-434c-8897-ff8a4b25477a
Ancestors: FFI-Libraries-mt.1

Make bsearch and qsort callbacks type-safe.

=============== Diff against FFI-Libraries-mt.1 ===============

Item was changed:
  ----- Method: CStandardLibrary>>bsearch:with:with:with:with: (in category 'stdlib.h - searching and sorting') -----
  bsearch: key with: base with: num with: size with: compar
 
+ <cdecl: void* bsearch (const void*, const void*, size_t, size_t, FFICallback*)>
- <cdecl: void* bsearch (const void*, const void*, size_t, size_t, void*)>
  ^ self externalCallFailed  !

Item was changed:
  ----- Method: CStandardLibrary>>qsort:with:with:with: (in category 'stdlib.h - searching and sorting') -----
  qsort: base with: num with: size with: compar
 
+ <cdecl: void qsort (void*, size_t, size_t, FFICallback*)>
- <cdecl: void qsort (void*, size_t, size_t, void*)>
  ^ self externalCallFailed  !