struct Fn [src]
This data structure is used by the Zig language code generation and
therefore must be kept in sync with the compiler implementation.
Fields
calling_convention: CallingConvention
is_generic: bool
is_var_args: bool
return_type: ?typeTODO change the language spec to make this not optional.
params: []const Param
Members
- Param (struct)
Source
pub const Fn = struct {
calling_convention: CallingConvention,
is_generic: bool,
is_var_args: bool,
/// TODO change the language spec to make this not optional.
return_type: ?type,
params: []const Param,
/// This data structure is used by the Zig language code generation and
/// therefore must be kept in sync with the compiler implementation.
pub const Param = struct {
is_generic: bool,
is_noalias: bool,
type: ?type,
};
}