namedTypeSetBody
Function parameters
Parameters
- self:*Builder
Type definitions in this namespace
Types
Functions in this namespace
Functions
= 16
Values
Source
Implementation
pub fn namedTypeSetBody(
self: *Builder,
named_type: Type,
body_type: Type,
) void {
const named_item = self.type_items.items[@intFromEnum(named_type)];
self.type_extra.items[named_item.data + std.meta.fieldIndex(Type.NamedStructure, "body").?] =
@intFromEnum(body_type);
}