Namespace · Larva HIR

System.Bindings

Types

class BindingModel Every declaration of the binding, in the order C declared them, and its settings.
class BindingProfile A profile that does what the settings say: derive from it and override what you decide yourself.
class BindingRunner Runs a profile for larva bind (larva calls it; a profile does not).
class BindingSettings The binding's settings: what is read, where it goes, and the rules every name follows unless a hook says otherwise.
class CConstant An integer constant (a #define, or an enum value no enum took): a const of a static class.
class CEnum An enum (or bitflag enum): from a C enum, or made from constants (BindingModel.Enum).
class CEnumMember A member of an enum.
class CField A field of a struct or union.
class CFunction A C function the library exports: an [Import] of the binding.
class CParameter A parameter of a C function.
class CStruct A C struct (or union) with its layout: a value type of the binding.
class CType A C type as the binding writes it (i32, u8*, SDL_Rect*, func*<void*> : i32), and the typedef C wrote it with.
enum ExportCheck What happens to a function the headers declare and the library does not export.
interface IBindingProfile What larva bind --profile asks a profile, in this order: Configure (once, before the headers are read), Start (with everything read), Enum, Struct, Constant and Function for each declaration (false leaves it out), Name for each name not set by those hooks, then Finish.
enum NameCase The case a name is written in.
enum NameKind What a name is (what Name is asked about).
class Names Names: prefixes, case, patterns.
class Place internal Where the description is: the namespace, class and file lines written when they change.
enum SplitBy How the source of the binding is split into files.
Esc