Open dcharkes opened 11 months ago
The Dartdoc does not show MallocAllocator and CallocAllocator.
MallocAllocator
CallocAllocator
https://pub.dev/documentation/ffi/latest/ffi/calloc-constant.html
This is because we're not exporting these classes.
https://github.com/dart-lang/ffi/blob/c926657618443ff4821411ede01684096b503f84/lib/ffi.dart#L5C50-L5C50
Thanks @tvolkert for reporting!
I believe we don't want to expose those classes. Instead the field should should be exposed on Allocator:
Allocator
Unless, we want to communicate that the nativeFree is non-nullable for these two allocators.
nativeFree
The Dartdoc does not show
MallocAllocator
andCallocAllocator
.https://pub.dev/documentation/ffi/latest/ffi/calloc-constant.html
This is because we're not exporting these classes.
https://github.com/dart-lang/ffi/blob/c926657618443ff4821411ede01684096b503f84/lib/ffi.dart#L5C50-L5C50
Thanks @tvolkert for reporting!