On 05/04/2014 13:28, Vladimir Pouzanov wrote:
Also tried defining something along the lines of *[extern unsafe fn()], but I guess size is also required in this case.
This will probably work once we have DST, but it will result in a fixed-size pointer to an array, rather than the actual array like [extern unsafe fn(), ..4] whose size is proportional to the number of elements.
DST: https://github.com/mozilla/rust/issues/6308 -- Simon Sapin _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
