This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
Dart_PostCObject_DL How to send multiple data to dart? #211
Answered
by
dcharkes
LEggcookies
asked this question in
Q&A
-
|
Beta Was this translation helpful? Give feedback.
Answered by
dcharkes
Sep 6, 2023
Replies: 1 comment
-
Here's an example: https://github.com/dart-lang/sdk/blob/4bddf8a25ff894f6a8ac9ee122a1eb2112fd2dd1/runtime/bin/ffi_test/ffi_test_functions_vmspecific.cc#L781
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
LEggcookies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an example: https://github.com/dart-lang/sdk/blob/4bddf8a25ff894f6a8ac9ee122a1eb2112fd2dd1/runtime/bin/ffi_test/ffi_test_functions_vmspecific.cc#L781
Dart_CObject_kArray
is the right approach, see the example on how to use it.