-
-
Notifications
You must be signed in to change notification settings - Fork 9
AnyFuncPtrType
IsaacShelton edited this page Mar 21, 2022
·
1 revision
AnyFuncPtrType
represents the type for runtime type information of function pointer types.
Type | Size | Memory Management Model | File |
---|---|---|---|
AnyFuncPtrType |
72 bytes | None | N/A |
struct AnyFuncPtrType (
struct AnyType,
args **AnyType,
length usize,
return_type *AnyType,
is_vararg bool,
is_stdcall bool
)
where AnyType
is defined as
struct AnyType (kind AnyTypeKind, name *ubyte, is_alias bool, size usize)
Name | Overlaps AnyType
|
Type | Description |
---|---|---|---|
kind |
y | AnyTypeKind |
What kind of type (AnyTypeKind::FUNC_PTR ) |
name |
y | *ubyte |
Human readable name of the type |
is_alias |
y | bool |
Whether the type is an alias |
size |
y | usize |
Size of the type in bytes |
args |
**AnyType |
Argument types | |
length |
usize |
Number of arguments | |
return_type |
*AnyType |
Return type | |
is_vararg |
bool |
Whether function type has C-style variadic arguments | |
is_stdcall |
bool |
Whether function type uses stdcall calling convention |
All *AnyFuncPtrType
values are also valid *AnyType
values