diff --git a/interfaces/java/interface/helics.java b/interfaces/java/interface/helics.java index 1b384b7f32..76d8322a8b 100644 --- a/interfaces/java/interface/helics.java +++ b/interfaces/java/interface/helics.java @@ -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
* @param data the HelicsDataBuffer to fill
+ * @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 */ public static SWIGTYPE_p_int32_t helicsDataBufferFillFromRawString(SWIGTYPE_p_void data, String str, int stringSize) { @@ -208,6 +210,8 @@ public static SWIGTYPE_p_int32_t helicsDataBufferFillFromTime(SWIGTYPE_p_void da /** * convert a complex pair to serialized bytesin a buffer
* @param data the HelicsDataBuffer to fill
+ * @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 */ public static SWIGTYPE_p_int32_t helicsDataBufferFillFromComplex(SWIGTYPE_p_void data, double real, double imag) { diff --git a/src/helics/shared_api_library/backup/helics/helics.h b/src/helics/shared_api_library/backup/helics/helics.h index 9596f0a935..9439aa28ef 100644 --- a/src/helics/shared_api_library/backup/helics/helics.h +++ b/src/helics/shared_api_library/backup/helics/helics.h @@ -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); @@ -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);