Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit eb67b3ea authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

floss: Support Vec<T> in D-Bus projection property-map

This adds a converter from D-Bus RefArg to Rust Vec<T> so that property
map can contain vector data, e.g.:

struct SomeSettings {
  setting_a: i32,
  setting_b: Vec<i32>,
  setting_c: Vec<OtherSettings>,
  setting_d: Vec<Vec<i32>>,
};

Bug: 193685325
Tag: #floss
Test: Build floss on Linux and AOSP

Change-Id: I516888a55e44c8e2c6322fe3fcec81f7bda9e748
parent 6ff0d93c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment