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/ptr.rs | |
| parent | f03eb96f39dd616d8213cadf337b9d0b0984a687 (diff) | |
| download | rust-dde41869ce2ef1d66e753fc8b4efc7d917c77875.tar.gz rust-dde41869ce2ef1d66e753fc8b4efc7d917c77875.zip | |
Use ctypes in native function declarations
Diffstat (limited to 'src/libcore/ptr.rs')
| -rw-r--r-- | src/libcore/ptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs index 8ce0730df4f..a7eb33daeaf 100644 --- a/src/libcore/ptr.rs +++ b/src/libcore/ptr.rs @@ -6,7 +6,7 @@ Unsafe pointer utility functions #[abi = "rust-intrinsic"] native mod rusti { fn addr_of<T>(val: T) -> *T; - fn ptr_offset<T>(ptr: *T, count: uint) -> *T; + fn ptr_offset<T>(ptr: *T, count: ctypes::uintptr_t) -> *T; } /* |
