mirror of
https://github.com/morluto/rea.git
synced 2026-10-27 18:05:45 +00:00
refactor(tests): keep fixture adapters outside runtime
This commit is contained in:
1 parent
42c16ba631
commit
fdf5a33fe2
21 files changed
+206
-247
No files matched your search
@@ -268,24 +268,3 @@ function* referencedTypeCount(
|
||||
|
||||
/** Rows between cooperative yields while linking. */
|
||||
const LINK_BATCH = 256;
|
||||
|
||||
/** Synchronous linking for byte-level callers. */
|
||||
export const linkIl2cppBinary = (
|
||||
bytes: Buffer,
|
||||
metadata: Il2cppMetadataDecoded,
|
||||
facts: Il2cppMetadataLinkFacts,
|
||||
architecture?: string,
|
||||
options: Il2cppBinaryReadOptions = {},
|
||||
): Il2cppBinaryLink => {
|
||||
const steps = linkIl2cppBinarySteps(
|
||||
bytes,
|
||||
metadata,
|
||||
facts,
|
||||
architecture,
|
||||
options,
|
||||
);
|
||||
for (;;) {
|
||||
const step = steps.next();
|
||||
if (step.done) return step.value;
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user