Merge lp:~jamesh/unity-scopes-api/expose-filter-deserialize into lp:unity-scopes-api
Proposed by
James Henstridge
Status: | Merged |
---|---|
Approved by: | Michi Henning |
Approved revision: | 278 |
Merged at revision: | 285 |
Proposed branch: | lp:~jamesh/unity-scopes-api/expose-filter-deserialize |
Merge into: | lp:unity-scopes-api |
Diff against target: |
137 lines (+19/-7) 6 files modified
debian/libunity-scopes3.symbols (+2/-0) include/unity/scopes/FilterBase.h (+1/-0) include/unity/scopes/FilterState.h (+1/-0) src/scopes/FilterBase.cpp (+4/-0) src/scopes/FilterState.cpp (+4/-0) test/gtest/scopes/Filters/Filters_test.cpp (+7/-7) |
To merge this branch: | bzr merge lp:~jamesh/unity-scopes-api/expose-filter-deserialize |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michi Henning (community) | Approve | ||
Review via email:
|
Commit message
Expose the deserialize() static method on FilterBase and FilterState for use by the Go bindings.
Description of the change
To reduce the size of the C shim in the Go binding, it would be useful to be able to construct filter objects from a VariantMap.
This way rather than creating C shims for each individual filter class, I can implement the filters in Go and just have them produce the serialised representation to pass down to C and then C++.
All I needed for this was to expose FilterBaseImpl:
To post a comment you must log in.
FAILED: Continuous integration, rev:276 jenkins. qa.ubuntu. com/job/ unity-scopes- api-ci/ 499/ jenkins. qa.ubuntu. com/job/ unity-scopes- api-vivid- amd64-ci/ 24/console jenkins. qa.ubuntu. com/job/ unity-scopes- api-vivid- armhf-ci/ 24/console jenkins. qa.ubuntu. com/job/ unity-scopes- api-vivid- i386-ci/ 24/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- scopes- api-ci/ 499/rebuild
http://