added reuse option for root objects
getRootAs..() function now has a second implementation that accepts an existing object to allow object reuse, much like all other methods that refer to objects. Change-Id: Iffef567c903a130761ef7de98867e5465d29a04d
Showing
- src/idl_gen_general.cpp 11 additions, 6 deletionssrc/idl_gen_general.cpp
- tests/MyGame/Example/Monster.cs 2 additions, 1 deletiontests/MyGame/Example/Monster.cs
- tests/MyGame/Example/Monster.java 2 additions, 1 deletiontests/MyGame/Example/Monster.java
- tests/MyGame/Example/Stat.cs 2 additions, 1 deletiontests/MyGame/Example/Stat.cs
- tests/MyGame/Example/Stat.java 2 additions, 1 deletiontests/MyGame/Example/Stat.java
Loading
Please register or sign in to comment