Skip to content

Commit

Permalink
Automated update to generated interface files (#2671)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub <noreply@github.com>
  • Loading branch information
github-actions[bot] and web-flow authored Sep 29, 2024
1 parent 8d9d3ae commit e75d52b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions interfaces/java/interface/helics.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ public static SWIGTYPE_p_int32_t helicsDataBufferFillFromString(SWIGTYPE_p_void
/**
* convert a raw string (may contain nulls) to serialized bytesin a buffer<br>
* @param data the HelicsDataBuffer to fill<br>
* @param str the value to serialize into the dataBuffer<br>
* @param stringSize the size of the string value to serialize into the dataBuffer<br>
* @return the buffer size after filling
*/
public static SWIGTYPE_p_int32_t helicsDataBufferFillFromRawString(SWIGTYPE_p_void data, String str, int stringSize) {
Expand Down Expand Up @@ -208,6 +210,8 @@ public static SWIGTYPE_p_int32_t helicsDataBufferFillFromTime(SWIGTYPE_p_void da
/**
* convert a complex pair to serialized bytesin a buffer<br>
* @param data the HelicsDataBuffer to fill<br>
* @param real the real part of the imaginary number to serialize into the dataBuffer<br>
* @param imag the imaginary part of the imaginary number to serialize into the dataBuffer<br>
* @return the buffer size after filling
*/
public static SWIGTYPE_p_int32_t helicsDataBufferFillFromComplex(SWIGTYPE_p_void data, double real, double imag) {
Expand Down
6 changes: 4 additions & 2 deletions src/helics/shared_api_library/backup/helics/helics.h
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,8 @@ HELICS_EXPORT int32_t helicsDataBufferFillFromString(HelicsDataBuffer data, cons

/** convert a raw string (may contain nulls) to serialized bytesin a buffer
* @param data the HelicsDataBuffer to fill
* @param value the value to serialize into the dataBuffer
* @param str the value to serialize into the dataBuffer
@param stringSize the size of the string value to serialize into the dataBuffer
@return the buffer size after filling
*/
HELICS_EXPORT int32_t helicsDataBufferFillFromRawString(HelicsDataBuffer data, const char* str, int stringSize);
Expand Down Expand Up @@ -701,7 +702,8 @@ HELICS_EXPORT int32_t helicsDataBufferFillFromTime(HelicsDataBuffer data, Helics

/** convert a complex pair to serialized bytesin a buffer
* @param data the HelicsDataBuffer to fill
* @param value the value to serialize into the dataBuffer
* @param real the real part of the imaginary number to serialize into the dataBuffer
* @param imag the imaginary part of the imaginary number to serialize into the dataBuffer
@return the buffer size after filling
*/
HELICS_EXPORT int32_t helicsDataBufferFillFromComplex(HelicsDataBuffer data, double real, double imag);
Expand Down

0 comments on commit e75d52b

Please sign in to comment.