Skip to content
  • Mark Lee's avatar
    Arrays: Add array_length_type annotation to methods · 74f2e479
    Mark Lee authored and Jürg Billeter's avatar Jürg Billeter committed
    Adds support for the array_length_type CCode annotation, which allows
    methods with non-int array length parameters to be declared properly.
    Fixes possible crashes.
    
    Also adds Vala.CType, to work around the temporary variable type
    limitations.
    
    This fix only works with array return types, not with array parameters.
    
    Partially fixes bug 529866.
    74f2e479