mirror of
https://github.com/denoland/deno.git
synced 2025-08-02 18:12:39 +00:00
Rename flatbuffer base.msg to base.inner
This better disambiguates with the msg_generated.ts module, which in JS we call "fbs", but would be better called "msg".
This commit is contained in:
parent
51dc46eff4
commit
f774953011
21 changed files with 204 additions and 204 deletions
|
@ -59,15 +59,15 @@ function req({
|
|||
if (suffix != null) {
|
||||
fbs.MakeTempDir.addSuffix(builder, fbSuffix);
|
||||
}
|
||||
const msg = fbs.MakeTempDir.endMakeTempDir(builder);
|
||||
return [builder, fbs.Any.MakeTempDir, msg];
|
||||
const inner = fbs.MakeTempDir.endMakeTempDir(builder);
|
||||
return [builder, fbs.Any.MakeTempDir, inner];
|
||||
}
|
||||
|
||||
function res(baseRes: null | fbs.Base): string {
|
||||
assert(baseRes != null);
|
||||
assert(fbs.Any.MakeTempDirRes === baseRes!.msgType());
|
||||
assert(fbs.Any.MakeTempDirRes === baseRes!.innerType());
|
||||
const res = new fbs.MakeTempDirRes();
|
||||
assert(baseRes!.msg(res) != null);
|
||||
assert(baseRes!.inner(res) != null);
|
||||
const path = res.path();
|
||||
assert(path != null);
|
||||
return path!;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue