Skip to content

Commit

Permalink
- Removed deprecated arrayNth too.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23483 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Nov 20, 2014
1 parent d6fbc97 commit 23d1cc6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Compiler/FrontEnd/MetaModelicaBuiltin.mo
Expand Up @@ -662,15 +662,6 @@ function arrayGet<A> "O(1)"
external "builtin";
end arrayGet;

function arrayNth<A> "index from 0 is depreceated; use arrayGet"
input array<A> arr;
input Integer index;
output A value;
algorithm
value := arrayGet(arr,index+1);
annotation(__OpenModelica_EarlyInline = true, __OpenModelica_BuiltinPtr = true);
end arrayNth;

function arrayCreate<A>
"O(size)"
input Integer size;
Expand Down

0 comments on commit 23d1cc6

Please sign in to comment.