yzshen1
2016/04/05 17:36:14
Does it make sense to use a map instead? Something
Does it make sense to use a map instead? Something like:
type_mappings = { "gpu.mojom.Capabilities" : "gpu::Capabilities" }
I feel that it is easier to read and parse. WDYT?
Sam McNally
2016/04/06 07:02:53
I would prefer something more like that, but GN do
On 2016/04/05 17:36:14, yzshen1 wrote:
> Does it make sense to use a map instead? Something like:
>
> type_mappings = { "gpu.mojom.Capabilities" : "gpu::Capabilities" }
>
> I feel that it is easier to read and parse. WDYT?
I would prefer something more like that, but GN doesn't support maps.
yzshen1
2016/04/06 16:00:47
Ah. That is a little unfortunate.
On 2016/04/06 07:02:53, Sam McNally wrote:
> On 2016/04/05 17:36:14, yzshen1 wrote:
> > Does it make sense to use a map instead? Something like:
> >
> > type_mappings = { "gpu.mojom.Capabilities" : "gpu::Capabilities" }
> >
> > I feel that it is easier to read and parse. WDYT?
>
> I would prefer something more like that, but GN doesn't support maps.
Issue 1832703002: Mojo: Simplify typemap usage.
(Closed)
Created 4 years, 9 months ago by Sam McNally
Modified 4 years, 8 months ago
Reviewers: brettw, dcheng, esprehn, haraken, jam, Ken Rockot(use gerrit already), yzshen1
Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
Comments: 41