[Vala] converting int to string



Hi, why this not work?

root_object.has_member((string)feed_index)

and I have to use this?

root_object.has_member(feed_index.to_string())

thx



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