stdlib: Add some useful fields to the definition of type_desc

This commit is contained in:
Brian Anderson 2011-11-17 13:59:09 -08:00
parent 0e21df4610
commit 1f74af505f

View file

@ -3,9 +3,12 @@ Module: sys
Misc low level stuff
*/
tag type_desc {
type_desc(@type_desc);
}
tag type_desc = {
first_param: **ctypes::c_int,
size: ctypes::size_t,
align: ctypes::size_t
// Remaining fields not listed
};
#[abi = "cdecl"]
native mod rustrt {