diff options
| author | Haitao Li <lihaitao@gmail.com> | 2012-01-16 18:21:01 +0800 |
|---|---|---|
| committer | Haitao Li <lihaitao@gmail.com> | 2012-01-19 02:10:36 +0800 |
| commit | dde41869ce2ef1d66e753fc8b4efc7d917c77875 (patch) | |
| tree | ee9ea278fa981a8188a7d4cdb11201df10a81478 /src/libcore/comm.rs | |
| parent | f03eb96f39dd616d8213cadf337b9d0b0984a687 (diff) | |
Use ctypes in native function declarations
Diffstat (limited to 'src/libcore/comm.rs')
| -rw-r--r-- | src/libcore/comm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index 353c14fe5a8..98d49083f9d 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -33,7 +33,7 @@ native mod rustrt { target_task: task::task, target_port: port_id, data: T) -> ctypes::uintptr_t; - fn new_port(unit_sz: uint) -> *rust_port; + fn new_port(unit_sz: ctypes::size_t) -> *rust_port; fn del_port(po: *rust_port); fn rust_port_detach(po: *rust_port); fn get_port_id(po: *rust_port) -> port_id; |
