Skip to content

Commit

Permalink
- MetaModelica array handling support for debugger.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19759 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed Mar 25, 2014
1 parent e53b7a0 commit 272656e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions SimulationRuntime/c/meta/meta_modelica.c
Expand Up @@ -796,6 +796,7 @@ char* getMetaTypeElement(modelica_metatype arr, modelica_integer i, metaType mt)
case record_metaType:
case option_metaType:
case tuple_metaType:
case array_metaType:
name = (void*)mmc_gdb_arrayGet(0, arr, i);
break;
case list_metaType:
Expand Down
3 changes: 2 additions & 1 deletion SimulationRuntime/c/meta/meta_modelica.h
Expand Up @@ -425,7 +425,8 @@ typedef enum metaType
record_metaType = 0,
list_metaType,
option_metaType,
tuple_metaType
tuple_metaType,
array_metaType
} metaType;

extern char* getMetaTypeElement(modelica_metatype arr, modelica_integer i, metaType mt);
Expand Down

0 comments on commit 272656e

Please sign in to comment.