Add default NaN/Inf to C#, Java, Python (#5107)
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>
Mon, 14 Jan 2019 17:23:42 +0000 (00:23 +0700)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 14 Jan 2019 17:23:42 +0000 (09:23 -0800)
commit4fa4d367069748c318bfff041d71184dc1199270
tree63c23e003bbd678e13d07f949676c96ec7ef25b0
parent46208b1e918cfa7e92abc109264e2bc3b3627711
Add default NaN/Inf to C#, Java, Python (#5107)

* Add default NaN/Inf to C#, Java, Python

* Python NaN/Inf test added

* Remove MSVC2010/13 dependent code
14 files changed:
include/flatbuffers/code_generators.h
src/code_generators.cpp
src/idl_gen_cpp.cpp
src/idl_gen_general.cpp
src/idl_gen_python.cpp
tests/JavaTest.java
tests/MyGame/MonsterExtra.cs [new file with mode: 0644]
tests/MyGame/MonsterExtra.java [new file with mode: 0644]
tests/MyGame/MonsterExtra.py [new file with mode: 0644]
tests/generate_code.bat
tests/generate_code.sh
tests/monster_extra.fbs
tests/monster_extra_generated.h
tests/py_test.py