about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorJeff Olson <olson.jeffery@gmail.com>2012-03-22 21:15:39 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-06 15:35:48 -0700
commite5ccc76bc4e32538f8b2cb5f6745f42ce50ac232 (patch)
treea9f275b248045f076a13b8a2bc193b68b3849b64 /src/rt/rust_kernel.cpp
parent43c82bdb453523be57512c91d267bac05018ed19 (diff)
downloadrust-e5ccc76bc4e32538f8b2cb5f6745f42ce50ac232.tar.gz
rust-e5ccc76bc4e32538f8b2cb5f6745f42ce50ac232.zip
fixed by-val from rust->c, use ++ sigil in native fn sig <-- NEVAR FORGET
have to use ++ sigil in rust-side extern fn decls in order to have rust
actually copy the struct, by value, onto the C stack. gotcha, indeed.

also adding a helper method to verify/remind how to pass a struct by-val
into C... check out the rust fn sig for rust_uv_ip4_test_verify_port_val()
for more infos
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions