PHP FFI - return array rom rust function back to php

前端 未结 0 1308
悲哀的现实
悲哀的现实 2021-01-03 03:39

I need to return few values from rust function. Tried to declare function which returns an array

$ffi = FFI::cdef(\'float get_arr()[2];\', \'./target/release/         


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