1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 12:58:54 -05:00

Use snake-case for cmd_id.

This commit is contained in:
Ryan Dahl 2018-08-17 16:59:57 -04:00
parent 0b61d955eb
commit 42e7b7b3e7
2 changed files with 2 additions and 2 deletions

View file

@ -103,7 +103,7 @@ fn reply_error(d: *const DenoC, cmd_id: u32, msg: &String) {
let mut builder = flatbuffers::FlatBufferBuilder::new(); let mut builder = flatbuffers::FlatBufferBuilder::new();
// println!("reply_error{}", msg); // println!("reply_error{}", msg);
let args = msg::BaseArgs { let args = msg::BaseArgs {
cmdId: cmd_id, cmd_id: cmd_id,
error: Some(builder.create_string(msg)), error: Some(builder.create_string(msg)),
..Default::default() ..Default::default()
}; };

View file

@ -18,7 +18,7 @@ union Any {
} }
table Base { table Base {
cmdId: uint32; cmd_id: uint32;
error: string; error: string;
msg: Any; msg: Any;
} }