Library class

Container for all Bindings.

Constructors

Library({required String name, String? description, required List<Binding> bindings, String? allocate, String? deallocate, String? reallocate, String? header, bool dartBool = true, bool sort = false, StructPackingOverride? packingOverride})

Properties

bindings List<Binding>
List of bindings in this library.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writer → Writer
no setter

Methods

generate() String
Generates the bindings.
generateFile(File file, {bool format = true}) → void
Generates file by generating C bindings.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override