mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-25 10:48:39 +00:00
comment update
This commit is contained in:
@@ -330,7 +330,7 @@ static void StructBuilderArgs(const StructDef &struct_def,
|
|||||||
if (IsStruct(field.value.type)) {
|
if (IsStruct(field.value.type)) {
|
||||||
// Generate arguments for a struct inside a struct. To ensure names
|
// Generate arguments for a struct inside a struct. To ensure names
|
||||||
// don't clash, and to make it obvious these arguments are constructing
|
// don't clash, and to make it obvious these arguments are constructing
|
||||||
// a nested struct, prefix the name with the struct name.
|
// a nested struct, prefix the name with the field name.
|
||||||
StructBuilderArgs(*field.value.type.struct_def,
|
StructBuilderArgs(*field.value.type.struct_def,
|
||||||
(nameprefix + (field.name + "_")).c_str(),
|
(nameprefix + (field.name + "_")).c_str(),
|
||||||
code_ptr);
|
code_ptr);
|
||||||
|
|||||||
Reference in New Issue
Block a user