mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 04:00:01 +00:00
comment update
This commit is contained in:
@@ -448,7 +448,7 @@ static void GenStructArgs(const LanguageParameters &lang,
|
|||||||
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.
|
||||||
GenStructArgs(lang, *field.value.type.struct_def, code_ptr,
|
GenStructArgs(lang, *field.value.type.struct_def, code_ptr,
|
||||||
(nameprefix + (field.name + "_")).c_str());
|
(nameprefix + (field.name + "_")).c_str());
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user