rust/src/libstd
Niko Matsakis efc7f82bc4 Revamp foreign code not to consider the Rust modes. This requires
adjusting a few foreign functions that were declared with by-ref
mode.  This also allows us to remove by-val mode in the near future.

With copy mode, though, we have to be careful because Rust will implicitly pass
somethings by pointer but this may not be the C ABI rules.  For example, rust
will pass a struct Foo as a Foo*.  So I added some code into the adapters to
fix this (though the C ABI rules may put the pointer back, oh well).

This patch also includes a lint mode for the use of by-ref mode
in foreign functions as the semantics of this have changed.
2013-03-13 16:59:37 -04:00
..
arc.rs Remove uses of log 2013-03-11 23:19:42 -07:00
arena.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
base64.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
bigint.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
bitv.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
c_vec.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
cmp.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
comm.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
dbg.rs libstd: Remove extern mod { ... } from libstd. rs=deexterning 2013-03-07 22:32:52 -08:00
deque.rs Remove uses of log 2013-03-11 23:19:42 -07:00
ebml.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
flatpipes.rs Fix dvec-related fallout in tests 2013-03-08 09:56:52 -05:00
fun_treemap.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
future.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
getopts.rs auto merge of #5293 : brson/rust/logging, r=brson 2013-03-13 10:40:07 -07:00
io_util.rs De-implicit-self libstd 2013-03-07 21:11:09 -05:00
json.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
list.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
md4.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
net_ip.rs Remove uses of log 2013-03-11 23:19:42 -07:00
net_tcp.rs Remove uses of log 2013-03-11 23:19:42 -07:00
net_url.rs test: Fix tests. 2013-03-07 22:37:58 -08:00
net.rs Add some extra description for std::net 2013-01-01 01:02:48 -05:00
oldmap.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
par.rs Remove uses of log 2013-03-11 23:19:42 -07:00
prettyprint.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
priority_queue.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
rl.rs libsyntax: Stop parsing bare functions in preparation for switching them over 2013-03-11 09:35:58 -07:00
rope.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
semver.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
serialize.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
sha1.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
smallintmap.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00
sort.rs Remove uses of log 2013-03-11 23:19:42 -07:00
stats.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
std.rc core: Add rt mod and add the new scheduler code 2013-03-11 19:44:29 -07:00
sync.rs libstd: Remove all newtype enums from std and core. 2013-03-11 09:35:59 -07:00
task_pool.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
tempfile.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
term.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
test.rs test: Fix tests. 2013-03-07 22:37:58 -08:00
time.rs Revamp foreign code not to consider the Rust modes. This requires 2013-03-13 16:59:37 -04:00
timer.rs Remove uses of log 2013-03-11 23:19:42 -07:00
treemap.rs treemap: fix a bug in the union implementation 2013-03-11 22:36:23 -04:00
unicode.rs librustc: Convert all uses of assert over to fail_unless! 2013-03-07 22:37:57 -08:00
uv_global_loop.rs Remove uses of log 2013-03-11 23:19:42 -07:00
uv_iotask.rs Remove uses of log 2013-03-11 23:19:42 -07:00
uv.rs core: Add rt mod and add the new scheduler code 2013-03-11 19:44:29 -07:00
workcache.rs librustc: Replace all uses of fn() with &fn(). rs=defun 2013-03-11 09:35:58 -07:00