Cleaned up namespace handling.
authorWouter van Oortmerssen <aardappel@gmail.com>
Thu, 24 Aug 2017 19:55:35 +0000 (12:55 -0700)
committerWouter van Oortmerssen <aardappel@gmail.com>
Thu, 24 Aug 2017 20:39:45 +0000 (13:39 -0700)
commit321a1c9dc0bb2205feb1bb9fd079546403aa852f
treeb70dae087ee8e6ed9faed173dbae9a3f50af4f5d
parentac1015e3c417ecb18d8f449a4e6aaaff3c4f53b9
Cleaned up namespace handling.

A Namespace object is now guaranteed unique.
This cleaned up some old workarounds and latent bugs.

Change-Id: Ic3f12d89947871b03b2c449ba51b3186f953adde
Tested: on Linux.
Bug: 21336857
25 files changed:
include/flatbuffers/idl.h
src/idl_gen_cpp.cpp
src/idl_gen_general.cpp
src/idl_gen_grpc.cpp
src/idl_gen_python.cpp
src/idl_parser.cpp
tests/MyGame/Example/Monster.cs
tests/MyGame/Example/Monster.go
tests/MyGame/Example/Monster.java
tests/MyGame/Example/Monster.php
tests/MyGame/Example/Monster.py
tests/MyGame/Example2/__init__.py [new file with mode: 0644]
tests/MyGame/InParentNamespace.cs [new file with mode: 0644]
tests/MyGame/InParentNamespace.go [new file with mode: 0644]
tests/MyGame/InParentNamespace.java [new file with mode: 0644]
tests/MyGame/InParentNamespace.php [new file with mode: 0644]
tests/MyGame/InParentNamespace.py [new file with mode: 0644]
tests/monster_test.bfbs
tests/monster_test.fbs
tests/monster_test.schema.json
tests/monster_test_generated.h
tests/monster_test_generated.js
tests/monster_test_generated.ts
tests/namespace_test/NamespaceC/__init__.py [new file with mode: 0644]
tests/prototest/test.golden