mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
rename _global -> bun
This commit is contained in:
@@ -2,18 +2,18 @@ const schema = @import("./api/schema.zig");
|
||||
const Api = schema.Api;
|
||||
const std = @import("std");
|
||||
const Fs = @import("./fs.zig");
|
||||
const _global = @import("global.zig");
|
||||
const string = _global.string;
|
||||
const Output = _global.Output;
|
||||
const Global = _global.Global;
|
||||
const Environment = _global.Environment;
|
||||
const strings = _global.strings;
|
||||
const MutableString = _global.MutableString;
|
||||
const FileDescriptorType = _global.FileDescriptorType;
|
||||
const StoredFileDescriptorType = _global.StoredFileDescriptorType;
|
||||
const stringZ = _global.stringZ;
|
||||
const default_allocator = _global.default_allocator;
|
||||
const C = _global.C;
|
||||
const bun = @import("global.zig");
|
||||
const string = bun.string;
|
||||
const Output = bun.Output;
|
||||
const Global = bun.Global;
|
||||
const Environment = bun.Environment;
|
||||
const strings = bun.strings;
|
||||
const MutableString = bun.MutableString;
|
||||
const FileDescriptorType = bun.FileDescriptorType;
|
||||
const StoredFileDescriptorType = bun.StoredFileDescriptorType;
|
||||
const stringZ = bun.stringZ;
|
||||
const default_allocator = bun.default_allocator;
|
||||
const C = bun.C;
|
||||
|
||||
pub fn modulesIn(bundle: *const Api.JavascriptBundle, pkg: *const Api.JavascriptBundledPackage) []const Api.JavascriptBundledModule {
|
||||
return bundle.modules[pkg.modules_offset .. pkg.modules_offset + pkg.modules_length];
|
||||
|
||||
Reference in New Issue
Block a user