Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
anagainaru committed Mar 6, 2024
1 parent 85cd22f commit 190c498
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bindings/Fortran/f2c/adios2_f2c_variable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,17 @@ void FC_GLOBAL(adios2_variable_steps_f2c,
}
}

void FC_GLOBAL(adios2_set_memory_space_f2c, ADIOS2_SET_MEMORY_SPACE_F2C)(
adios2_variable **variable, const int *mem, int *ierr)
void FC_GLOBAL(adios2_set_memory_space_f2c, ADIOS2_SET_MEMORY_SPACE_F2C)(adios2_variable **variable,
const int *mem, int *ierr)
{
*ierr = static_cast<int>(adios2_set_memory_space(*variable, static_cast<adios2_memory_space>(*mem)));
*ierr = static_cast<int>(
adios2_set_memory_space(*variable, static_cast<adios2_memory_space>(*mem)));
}

void FC_GLOBAL(adios2_get_memory_space_f2c, ADIOS2_GET_MEMORY_SPACE_F2C)(
int *mem, adios2_variable **variable, int *ierr)
void FC_GLOBAL(adios2_get_memory_space_f2c,
ADIOS2_GET_MEMORY_SPACE_F2C)(int *mem, adios2_variable **variable, int *ierr)
{
*mem = 0;
*mem = 0;
adios2_memory_space Cmem;
*ierr = static_cast<int>(adios2_get_memory_space(&Cmem, *variable));
if (*ierr == static_cast<int>(adios2_error_none))
Expand Down

0 comments on commit 190c498

Please sign in to comment.