This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
calling_convention: CallingConventionis_generic: boolis_var_args: boolreturn_type: ?typeTODO change the language spec to make this not optional.
params: []const Parampub 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,
};
}