Class
GIR.Argument
data type representing a function/method argument or return type
class Argument
Topics
Initializers
XML constructor
XML constructor for functions/methods/callbacks
Instance Properties
is this a parameter that can be ommitted?
return the swift (known) type of the receiver when passed as an argument
return the swift (known) type of the receiver when passed as an argument for a @convention(c) callback
is this a caller-allocated (out) parameter?
return the swift (known) type of the receiver when passed as an argument Returns a reference name in case of a known record with a default value
whether this is an in, out, or inout parameter
is this an instance parameter or return type?
is this a nullable parameter or return type?
is this an optional (out) parameter?
String representation of the CType thing
Return a Swift template declaration for a known record that is non-nullable, or nil otherwise
model of ownership transfer used
return the swift (known) type of the receiver when passed as an argument Returns a template name in case of a known record
indicate whether the given parameter is varargs
Instance Methods
Append a question mark if the receiver is nullable
Append a question mark if the receiver is nullable or optional
Return the name of a templated type correspondingg to a given record
Relationships
Inherits From
Inherited By
Conforms To
See Also
GIR element models
GIR named thing class
GIR type class
a type with an underlying C type entry
a type alias is just a type with an underlying C type
a bitfield is defined akin to an enumeration
a callback is the same as a function, except that the type definition is a @convention(c) callback definition
a class data type record
an entry for a constant
an enumeration entry
a field is a Property
a function is the same as a method
an inteface is similar to a class, but can be part of a more complex type graph
data type representing a function/method
a property is a C type
a data type record to create a protocol/struct/class for