mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-17 17:46:31 +00:00
Re-added Evolution Schema Code Generation Command (#5999)
* Fixed refractoring issue in reflection/generate_code.sh. Also, mv deletes the original file, so I don't need to clean it up manually in that case. * Fixed Dart Tests by removing code-gen for included files. * Added code gen for evolution tests back in. * General generate code and clang format * Added evolution schema generation to .bat file * Added code gen for evolution tests back in. * General generate code and clang format * Added evolution schema generation to .bat file * reran generate_code.sh * Removed wildcard from generate_code.bat that doesn't work
This commit is contained in:
@@ -141,6 +141,17 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(8) Struct FLATBUFFERS_FINAL_CLASS {
|
||||
};
|
||||
FLATBUFFERS_STRUCT_END(Struct, 16);
|
||||
|
||||
inline bool operator==(const Struct &lhs, const Struct &rhs) {
|
||||
return
|
||||
(lhs.a() == rhs.a()) &&
|
||||
(lhs.b() == rhs.b());
|
||||
}
|
||||
|
||||
inline bool operator!=(const Struct &lhs, const Struct &rhs) {
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
|
||||
struct TableA FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
|
||||
typedef TableABuilder Builder;
|
||||
enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
|
||||
|
||||
Reference in New Issue
Block a user