We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MallocAllocator
1 parent 2393cca commit d7d9229Copy full SHA for d7d9229
pkgs/ffi/lib/src/allocation.dart
@@ -40,11 +40,11 @@ final WinCoTaskMemFree winCoTaskMemFree = winCoTaskMemFreePointer.asFunction();
40
41
/// Manages memory on the native heap.
42
///
43
-/// Does not initialize newly allocated memory to zero. Use [_CallocAllocator]
+/// Does not initialize newly allocated memory to zero. Use [CallocAllocator]
44
/// for zero-initialized memory on allocation.
45
46
/// For POSIX-based systems, this uses `malloc` and `free`. On Windows, it uses
47
-/// `CoTaskMemAlloc`.
+/// `CoTaskMemAlloc` and `CoTaskMemFree`.
48
final class MallocAllocator implements Allocator {
49
const MallocAllocator._();
50
0 commit comments