Skip to content

Commit

Permalink
Cxx: Fix native API
Browse files Browse the repository at this point in the history
  • Loading branch information
agdavydov81 committed Apr 5, 2024
1 parent 6e8863a commit 5d63802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion native/src/NativeImplToString.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const char* dfp64_to_string_3(BID_UINT64 value, char decimalMark, char* buffer51
return dfp64_to_string_4(value, decimalMark, buffer512, false);
}

const char* dfp64_to_string_4(BID_UINT64 value, char decimalMark, char* buffer512, bool floatStyle) {
const char* dfp64_to_string_4(BID_UINT64 value, char decimalMark, char* buffer512, int floatStyle) {
if (isNull(value))
return "null";

Expand Down
2 changes: 1 addition & 1 deletion native/src/NativeImplToString.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
BID_EXTERN_C const char * dfp64_to_string(BID_UINT64 value);
BID_EXTERN_C const char * dfp64_to_string_2(BID_UINT64 value, char decimalMark);
BID_EXTERN_C const char * dfp64_to_string_3(BID_UINT64 value, char decimalMark, char* buffer512);
BID_EXTERN_C const char * dfp64_to_string_4(BID_UINT64 value, char decimalMark, char* buffer512, bool floatStyle);
BID_EXTERN_C const char * dfp64_to_string_4(BID_UINT64 value, char decimalMark, char* buffer512, int floatStyle);

BID_EXTERN_C const char * dfp64_to_scientific_string(BID_UINT64 value);
BID_EXTERN_C const char * dfp64_to_scientific_string_2(BID_UINT64 value, char decimalMark);
Expand Down

0 comments on commit 5d63802

Please sign in to comment.