Skip to content

Commit

Permalink
add virtual_sources to Metadata interface
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaranville committed Jun 3, 2024
1 parent eb296cb commit ab83a41
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hdf5_util_helpers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export interface Metadata {
strpad?: number,
total_size: number,
type: number,
virtual_sources?: VirtualSource[],
vlen: boolean,
}

Expand All @@ -51,6 +52,11 @@ export interface EnumTypeMetadata {
type: number;
}

export interface VirtualSource {
file_name: string;
dset_name: string;
}

export interface H5Module extends EmscriptenModule {
create_dataset(file_id: bigint, arg1: string, arg2: bigint, shape: bigint[], maxshape: (bigint | null)[], chunks: bigint[] | null, type: number, size: number, signed: boolean, vlen: boolean, compression_id: number, compression_opts: number[]): number;
create_soft_link(file_id: bigint, link_target: string, link_name: string): number;
Expand Down

0 comments on commit ab83a41

Please sign in to comment.