Skip to content

dart:ffi interaction with dynamic #35902

@dcharkes

Description

@dcharkes

While not efficient, dart:ffi should be available with dynamic (except for trampolines).

Pointer<Int8> p = allocate();
dynamic q = p;
q.store(123);
q.free();

TODO: test whether it works and write tests for this functionality.

Metadata

Metadata

Assignees

Labels

area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-ffipart-of:pointer-api

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions