Wouter van Oortmerssen
62af533820
Merge pull request #237 from jonsimantov/master
...
Add optional root table to SetString and ResizeVector, when your Flatbuffer isn't the schema's root type.
2015-07-22 12:03:39 -07:00
Jon Simantov
b56020ad3b
Updated pointer syntax to be consistent in SetString, etc.
2015-07-22 11:46:14 -07:00
Jon Simantov
6e160f4c59
Use Object* for optional root_table in SetString/ResizeVector.
...
Was previously using table name, but no reason not to just let the
calling code worry about getting the object.
2015-07-22 10:56:41 -07:00
Wouter van Oortmerssen
b6380aceac
Fixed reflection resizing code not checking strings in vectors.
...
Change-Id: I4081160a8281939ab282d7914ae396276c767882
Tested: on Linux.
2015-07-22 09:57:35 -07:00
Jon Simantov
a4de6de700
Add optional root table name to SetString and ResizeVector.
...
This allows you to use these functions with a flatbuffer whose root
table type does't correspond with the root table type of the schema.
If you don't specify the table name, it will use the root table from
the schema by default (mimicing the current behavior).
2015-07-22 02:01:56 -07:00
Wouter van Oortmerssen
21765bea2e
Made warning settings in Xcode more aggressive.
...
Tested: on OS X.
2015-06-29 15:49:13 -07:00
Wouter van Oortmerssen
cb2b2be54e
Reflection: generically copy (parts of) FlatBuffers.
...
Change-Id: Ief3f1507c003079eac90c2bb6c2abd64a80a0a34
Tested: on Linux.
2015-06-29 15:18:51 -07:00
Wouter van Oortmerssen
c967515da5
Small improvements to the C++ API.
...
Change-Id: Ib30ffbbd140a8b82fe664129fa4e8c55836267f8
Tested: on Linux.
2015-06-17 17:17:01 -07:00
Wouter van Oortmerssen
622b8d05cf
Fixed warnings on Windows
2015-06-15 17:35:07 -07:00
Wouter van Oortmerssen
5faa0ab1be
Removed unused variable.
...
Tested: on OS X.
2015-06-15 15:57:48 -07:00
Wouter van Oortmerssen
81312c2128
Initial reflection and resizing functionality.
...
Tested: on Linux.
Change-Id: I8f7bccf9b1ad87fea788f85e23fa69435758feca
2015-06-15 15:53:10 -07:00