.MetaModelica.MetaModelica.Dangerous.listReverseInPlace

Information

O(n). A destructive listReverse. May cause segmentation faults if the list contains *any* non-NIL element that was allocated in a constant data segment. Will cause all other points to the head or within this list to now point to another list. Do not use unless you are really certain the compiler cannot optimise any part of the list into a constant data segment.

Interface

function listReverseInPlace<A>
  input list<A> inList;
  output list<A> outList;
end listReverseInPlace;

Generated at 2020-05-31T01:40:00Z by OpenModelicaOpenModelica 1.16.0~dev-419-gf0d7921 using GenerateDoc.mos