class · System.Bindings

CFunction

public class System.Bindings.CFunction : System.Any

A C function the library exports: an [Import] of the binding.

Tipo
class
Espacio de nombres
System.Bindings
Ensamblado
System.Bindings
Acceso
public, final
Archivo fuente
Model.ant

Herencia

Clases base
Any CFunction

Constructores

constructor CFunction(entry: System.String<u8>, header: System.String<u8>, result: System.Bindings.CType)
#

Métodos

method Add(cName: System.String<u8>, type: System.String<u8>, typedef: System.String<u8>) -> System.Bindings.CFunction
#

Adds a parameter (the model is built this way).

method Parameter(cName: System.String<u8>) -> System.Bindings.CParameter?
#

The parameter named cName in C.

Campos

field Entry: System.String<u8>
#

The C symbol (what the library exports; never changed).

field Name: System.String<u8>
#

Its name in the binding.

field Namespace: System.String<u8>
#

Where it goes: "" is the settings' (or the header's, with NamespaceByHeader / ClassByHeader).

field Class: System.String<u8>
#
field File: System.String<u8>
#
field Result: System.Bindings.CType
#

Miembros heredados (5)

Código fuente

CFunction en Larva HIR, descompilado a partir de su Larva HIR.

System.Bindings.CFunction.hir
// A C function the library exports: an `[Import]` of the binding.
public class System.Bindings.CFunction : System.Any
{
    // The C symbol (what the library exports; never changed).
    field Entry: System.String<u8>
    // Its name in the binding.
    field Name: System.String<u8>
    // The header that declares it ("" when not known).
    field Header: System.String<u8>
    // Where it goes: "" is the settings' (or the header's, with NamespaceByHeader / ClassByHeader).
    field Namespace: System.String<u8>
    field Class: System.String<u8>
    field File: System.String<u8>
    field Parameters: System.List<System.Bindings.CParameter>
    field Result: System.Bindings.CType
    constructor CFunction(entry: System.String<u8>, header: System.String<u8>, result: System.Bindings.CType)
    // Adds a parameter (the model is built this way).
    method Add(cName: System.String<u8>, type: System.String<u8>, typedef: System.String<u8>) -> System.Bindings.CFunction
    // The parameter named `cName` in C.
    method Parameter(cName: System.String<u8>) -> System.Bindings.CParameter?
}
Esc