Skip to content

Commit

Permalink
c-bindings: add back support for long double
Browse files Browse the repository at this point in the history
I don't know if it was deliberately removed, but I think it's still supported by
engines and the cxx11 interface, so why not here?
  • Loading branch information
germasch committed Feb 13, 2019
1 parent b6605b6 commit 0ac6244
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindings/C/c/adios2_c_internal.inl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ make_MapAdios2Type(adios2_type_uint32_t, uint32_t)
make_MapAdios2Type(adios2_type_uint64_t, uint64_t)
make_MapAdios2Type(adios2_type_float, float)
make_MapAdios2Type(adios2_type_double, double)
make_MapAdios2Type(adios2_type_long_double, long double)
make_MapAdios2Type(adios2_type_float_complex, std::complex<float>)
make_MapAdios2Type(adios2_type_double_complex, std::complex<double>)
/* clang-format on */
Expand Down
2 changes: 2 additions & 0 deletions bindings/C/c/adios2_c_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ typedef enum {
adios2_type_uint16_t = 10,
adios2_type_uint32_t = 11,
adios2_type_uint64_t = 12,

adios2_type_long_double = 13,
} adios2_type;

typedef enum {
Expand Down

0 comments on commit 0ac6244

Please sign in to comment.