How to pass a struct with a string field to a native library, with pre-initialized string field of that struct, via FFI?

前端 未结 0 646
迷失自我
迷失自我 2021-01-05 05:31

I have ruby code which passes a struct to a native Rust library, via FFI gem.

A struct contains a string field. I need to be able to specify string on Ruby side.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题