Skip to content

Commit

Permalink
- add a prototype for void *mmc_alloc_bytes(unsigned nbytes);
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10978 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 30, 2012
1 parent 9392b5a commit a9e94a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions SimulationRuntime/c/meta/gc/gc.h
Expand Up @@ -81,6 +81,7 @@ extern mmc_GC_state_type* mmc_GC_state;
int is_in_range(modelica_metatype p, modelica_metatype start, size_t bytes);
/* primary allocation routines for MetaModelica */
void *mmc_alloc_words(unsigned nwords);
void *mmc_alloc_bytes(unsigned nbytes);

#if defined(_MMC_GC_)

Expand Down
1 change: 1 addition & 0 deletions c_runtime/meta/gc/gc.h
Expand Up @@ -77,6 +77,7 @@ extern mmc_GC_state_type* mmc_GC_state;
int is_in_range(modelica_metatype p, modelica_metatype start, size_t bytes);
/* primary allocation routines for MetaModelica */
void *mmc_alloc_words(unsigned nwords);
void *mmc_alloc_bytes(unsigned nbytes);

#if defined(_MMC_GC_)

Expand Down

0 comments on commit a9e94a1

Please sign in to comment.