stdlib: Add some useful fields to the definition of type_desc
This commit is contained in:
parent
0e21df4610
commit
1f74af505f
1 changed files with 6 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue