generated master data for new builtins (#845)
This commit is contained in:
parent
44b6c4dae4
commit
4d7b95e1e2
@ -506,6 +506,49 @@ pub const builtins = [_]Builtin{
|
|||||||
"comptime name: []u8",
|
"comptime name: []u8",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
.{
|
||||||
|
.name = "@cVaArg",
|
||||||
|
.signature = "@cVaArg(operand: *std.builtin.VaList, comptime T: type) T",
|
||||||
|
.snippet = "@cVaArg(${1:operand: *std.builtin.VaList}, ${2:comptime T: type})",
|
||||||
|
.documentation =
|
||||||
|
\\Implements the C macro `va_arg`.
|
||||||
|
,
|
||||||
|
.arguments = &.{
|
||||||
|
"operand: *std.builtin.VaList",
|
||||||
|
"comptime T: type",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.name = "@cVaCopy",
|
||||||
|
.signature = "@cVaCopy(src: *std.builtin.VaList) std.builtin.VaList",
|
||||||
|
.snippet = "@cVaCopy(${1:src: *std.builtin.VaList})",
|
||||||
|
.documentation =
|
||||||
|
\\Implements the C macro `va_copy`.
|
||||||
|
,
|
||||||
|
.arguments = &.{
|
||||||
|
"src: *std.builtin.VaList",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.name = "@cVaEnd",
|
||||||
|
.signature = "@cVaEnd(src: *std.builtin.VaList) void",
|
||||||
|
.snippet = "@cVaEnd(${1:src: *std.builtin.VaList})",
|
||||||
|
.documentation =
|
||||||
|
\\Implements the C macro `va_end`.
|
||||||
|
,
|
||||||
|
.arguments = &.{
|
||||||
|
"src: *std.builtin.VaList",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
.{
|
||||||
|
.name = "@cVaStart",
|
||||||
|
.signature = "@cVaStart() std.builtin.VaList",
|
||||||
|
.snippet = "@cVaStart()",
|
||||||
|
.documentation =
|
||||||
|
\\Implements the C macro `va_start`. Only valid inside a variadic function.
|
||||||
|
,
|
||||||
|
.arguments = &.{},
|
||||||
|
},
|
||||||
.{
|
.{
|
||||||
.name = "@divExact",
|
.name = "@divExact",
|
||||||
.signature = "@divExact(numerator: T, denominator: T) T",
|
.signature = "@divExact(numerator: T, denominator: T) T",
|
||||||
|
Loading…
Reference in New Issue
Block a user