Function init [src]

Prototype

pub fn init(allocator: std.mem.Allocator, options: InitOptions) BitcodeReader

Parameters

allocator: std.mem.Allocatoroptions: InitOptions

Source

pub fn init(allocator: std.mem.Allocator, options: InitOptions) BitcodeReader { return .{ .allocator = allocator, .record_arena = .{}, .reader = options.reader, .keep_names = options.keep_names, .bit_buffer = 0, .bit_offset = 0, .stack = .{}, .block_info = .{}, }; }