﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1854	Returning array as an output from function	Adeel Asghar	Adrian Pop	"If a Modelica function has two outputs then the code generation for returning an array is wrong. However, it works fine if the function just has one output,

For example this works fine,
{{{
#!div style=""font-size: 80%""
Code highlighting:
  {{{#!python
  function A
      input Integer len;
      output Real arr[len];
      external ""C"" A_external(len, arr) annotation(Library = {""externalLib""});
    end A;
  }}}
}}}

But this does not work,
{{{
#!div style=""font-size: 80%""
Code highlighting:
  {{{#!python
  function A
      input Integer len;
      output Real arr[len];
      output Integer status;
      external ""C"" status = A_external(len, arr) annotation(Library = {""externalLib""});
    end A;
  }}}
}}}"	defect	closed	blocker	1.9.0	Code Generation		fixed		Willi Braun Jens Frenkel
