Corentin Wallez
7f96177289
Implement the builder error callback in the backends
...
This makes the Builder base class retain the error status, if any, and
call the callback on GetResult (or ~Builder, whichever comes first).
2017-05-11 11:31:54 +02:00
Corentin Wallez
5dc7915d38
Introduce a base class for Builder objects.
...
All builder objects will depend from this "Builder" base class. This
will allow having the builder callback logic in only one place.
2017-05-11 11:31:54 +02:00
Corentin Wallez
4b410a33ca
Implement the device error callback.
...
This adds support for "natively defined" API types like callbacks that
will have to be implemented manually for each target language. Also this
splits the concept of "native method" into a set of native methods per
language.
Removes the "Synchronous error" concept that was used to make builders
work in the maybe Monad, this will have to be reinroduced with builder
callbacks.
2017-05-11 11:31:54 +02:00
Corentin Wallez
682a8250b3
Plumb the server->client wire
2017-05-11 11:31:54 +02:00
Corentin Wallez
7f433a5b52
Add bufferOffset to CopyBufferToTexture.
2017-05-10 19:49:52 +02:00
Corentin Wallez
a2d4d14bd4
mock_api: Only mock methods with less than 10 arguments
...
GoogleMock only handles up to 10 arguments, but functions this big
probably won't be used in mocked tests so we can just skip them.
2017-05-10 19:49:52 +02:00
Corentin Wallez
060f254468
Add link to the overview document
2017-04-28 11:40:16 -07:00
Kai Ninomiya
faa5894500
Add shebang to generator/main.py to use python2
...
Fixes #3
2017-04-27 10:46:53 -04:00
Corentin Wallez
5473d719f7
Update blink generators for the big Blink rename.
2017-04-26 15:17:03 -04:00
Corentin Wallez
0fba0b4811
Fix usage of C++14 constexpr in HasZeroOrOneBit
2017-04-26 15:17:03 -04:00
Corentin Wallez
f07e3bd4c9
Initial commit of all the NXT integration.
...
More like squashed history, contributors were:
- Kai Ninomiya
- Corentin Wallez
2017-04-20 14:38:20 -04:00