Page MenuHomePhabricator

eolian_cxx: Map correct key/value/return info to function_def
Closed, ResolvedPublic

Description

Currently function_def does not distinct between keys and values, just generating the corresponding C parameters and return types. For example, for single-valued getters without a return value, the single value is converted to be the function def return.

This leads to some complicated code when generating C#'s properties.

We should add the list of keys, values, and original return value to make it easier deal with properties in other generators.