forked from BigfootDev/flatbuffers
f83ee1af597c5bdd474e4a9a1b99136758ef820b
* [idl_parser] Check structs and enums do not clash in a namespace Uses fully qualified names to check for clashes within a given namespace whether explicitly defined or in the global namespace. * [idl_parser] Move type name clash check to ParseEnum and ParseDecl Change point at which parsing error is returned to ensure error is caught more generally. This change means that the error is returned after parsing the entirety of the offending duplicate rather than at the start when parsing it's name. * [idl_parser] Add single and multi file type name clash tests Adds a selection of tests for valid single file schemas with types that have the same name but are in different namespaces. Adds a test for an a valid schema that spans two files with two types that have the same name but are in different namespaces. Adds a test for an an invalid schema that spans two files with two types that have the same name and are in the same namespace.
FlatBuffers
FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.
Go to our landing page to browse our documentation.
Supported operating systems
- Windows
- MacOS X
- Linux
- Android
- And any others with a recent C++ compiler.
Supported programming languages
- C++
- C#
- C
- Dart
- Go
- Java
- JavaScript
- Lobster
- Lua
- PHP
- Python
- Rust
- TypeScript
and more in progress...
Contribution
- FlatBuffers Google Group to discuss FlatBuffers with other developers and users.
- FlatBuffers Issues Tracker to submit an issue.
- stackoverflow.com with
flatbufferstag for any questions regarding FlatBuffers.
To contribute to this project, see CONTRIBUTING.
Licensing
Flatbuffers is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Description
Languages
C++
37.8%
Rust
13.5%
Swift
7.7%
Python
6.9%
C#
5.6%
Other
28.5%