[Vala] [Genie] Dict/List as properties



Hi all,

I'm wondering if/how I can use dicts and lists in class properties, for example:

prop private channel_map:dict of string,list of Gst.ChannelPosition

Gives this error:
error: syntax error, expected line end or semicolon but got `of'
  prop private channel_map:dict of string,list of Gst.ChannelPosition
                                ^^
Am I trying to do something I shouldn't?


Thanks,

Alex.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]