python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Dart/Flutter FFI: Convert List to Array
I have a struct that receives an array of type Float from a C++ library.
class MyStruct extends Struct{
@Array.multi([12])
external Array<Float> states;
}
I am able to receive data an...
Sanjay
Votes: 0
Answers: 1
Is it possible to pass PHP variable to FFI C function?
I want to explore PHP variables on C level with FFI. Is it possible?
I wrote code, but it doesn't work correctly.
php_ffi.cpp
#include "zend_types.h"
#include "main/php.h"
int mai...

Anton Sukhachev
Votes: 0
Answers: 1
Is there a workaround for the fact that TypeId only works for 'static types?
I am giving C++ a Box containing a trait object, and then when I get that Box<dyn Trait> back from C++, I want to try to downcast it into a concrete type. However, I can't do it safely because t...

laptou
Votes: 0
Answers: 0
Rust FFI - Dangling pointer
I work on a Rust library used, through C headers, in a Swift UI.
I can read from Swift in Rust, but I can't write right away to Swift (so from Rust) what I've just read.
--
Basically, I get to convert...
Ontokrat
Votes: 0
Answers: 1