class · System.Bindings
CType
public class System.Bindings.CType : System.Any
A C type as the binding writes it (i32, u8*, SDL_Rect*, func*<void*> : i32), and the typedef C wrote it with.
- Tipo
- class
- Espacio de nombres
- System.Bindings
- Ensamblado
- System.Bindings
- Acceso
- public, final
- Archivo fuente
Model.ant
Herencia
- Clases base
-
AnyCType
Constructores
constructor CType(text: System.String<u8>, typedef: System.String<u8>)
#
Métodos
Whether it is a pointer (T*).
Whether it is a number type (i8 … u64, f32, f64), without pointers.
Campos
field Text: System.String<u8>
#
The type in the binding (names of structs and enums are their C names until the end: the runner renames them).
field Typedef: System.String<u8>
#
The C typedef it was written with (SDL_InitFlags), or "".
Miembros heredados (5)
GetTypemétodo de AnyUndescribedmétodo de AnyToStringmétodo de AnyHashmétodo de Anydestroymétodo de Any
Código fuente
CType en Larva HIR, descompilado a partir de su Larva HIR.
// A C type as the binding writes it (`i32`, `u8*`, `SDL_Rect*`, `func*<void*> : i32`), and the typedef C wrote it with.
public class System.Bindings.CType : System.Any
{
// The type in the binding (names of structs and enums are their C names until the end: the runner renames them).
field Text: System.String<u8>
// The C typedef it was written with (`SDL_InitFlags`), or "".
field Typedef: System.String<u8>
constructor CType(text: System.String<u8>, typedef: System.String<u8>)
// Whether it is a pointer (`T*`).
method IsPointer() -> bool
// Whether it is a number type (`i8` … `u64`, `f32`, `f64`), without pointers.
method IsNumber() -> bool
}