@swf2es/codegen 0.1.41 → 0.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/zig.ts CHANGED
@@ -98,6 +98,7 @@ export interface CodegenExports {
98
98
  domainLoad(words: Uint8Array): boolean;
99
99
  domainLoadAbc(index: number, bytes: Uint8Array): number;
100
100
  domainLoadRebuild(): boolean;
101
+ domainLoadRevive(appDomain: number): number;
101
102
  domainLogMark(): number;
102
103
  domainLogSince(mark: number, index?: number): string;
103
104
  domainModule(hashes?: string, index?: number, keep?: boolean, linkedOnly?: boolean): string;
@@ -113,6 +114,7 @@ export interface CodegenExports {
113
114
  domainRestore(index: number, bytes: Uint8Array): number;
114
115
  domainRevision(): string;
115
116
  domainRevive(appDomain: number, stepped?: boolean): number;
117
+ domainReviveNeeds(appDomain: number): number;
116
118
  domainSaveBytes(): number;
117
119
  domainSavedAbcBytes(index: number): number;
118
120
  domainSourceMap(): string;
@@ -124,6 +126,8 @@ export interface CodegenExports {
124
126
  lastAddLinked(): boolean;
125
127
  journalBytes(mark: number): number;
126
128
  replayEntry(kind: number, index: number, a: number, b: number): boolean;
129
+ replayEntryStepped(kind: number, index: number, a: number, b: number): number;
130
+ replayEntryStep(): number;
127
131
  abandonRebuild(): void;
128
132
  loadCheckpointState(words: Uint8Array): boolean;
129
133
  }
@@ -175,6 +179,7 @@ export const SIGNATURES: {
175
179
  domainLoad: ["u8s", "bool"],
176
180
  domainLoadAbc: ["i32 u8s", "i32"],
177
181
  domainLoadRebuild: ["", "bool"],
182
+ domainLoadRevive: ["i32", "i32"],
178
183
  domainLogMark: ["", "i32"],
179
184
  domainLogSince: ["i32 i32=-1", "str"],
180
185
  domainModule: ["str= i32=-1 bool=true bool=false", "str"],
@@ -190,6 +195,7 @@ export const SIGNATURES: {
190
195
  domainRestore: ["i32 u8s", "i32"],
191
196
  domainRevision: ["", "str"],
192
197
  domainRevive: ["i32 bool=false", "i32"],
198
+ domainReviveNeeds: ["i32", "i32"],
193
199
  domainSaveBytes: ["", "address"],
194
200
  domainSavedAbcBytes: ["i32", "address"],
195
201
  domainSourceMap: ["", "str"],
@@ -200,6 +206,8 @@ export const SIGNATURES: {
200
206
  lastAddLinked: ["", "bool"],
201
207
  journalBytes: ["i32", "address"],
202
208
  replayEntry: ["i32 i32 i32 i32", "bool"],
209
+ replayEntryStepped: ["i32 i32 i32 i32", "i32"],
210
+ replayEntryStep: ["", "i32"],
203
211
  abandonRebuild: ["", "void"],
204
212
  loadCheckpointState: ["u8s", "bool"],
205
213
  };