File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -891,20 +891,16 @@ amqp_bytes_t AMQP_CALL amqp_cstring_bytes(char const *cstr);
891891 * Wraps a string of bytes in an amqp_bytes_t
892892 *
893893 * Takes a string of bytes and its length and creates an
894- * amqp_bytes_t that points to it. The string is not duplicated.
895- *
896- * For a given input cstr and length, The amqp_bytes_t output.bytes is the
897- * same as cstr, length is the length of the string not including
898- * the \0 terminator
894+ * amqp_bytes_t that points to it. The input is not duplicated.
899895 *
900- * \param [in] cstr the string of bytes to wrap
896+ * \param [in] ptr the string of bytes to wrap
901897 * \param [in] length the length of the string
902898 * \return an amqp_bytes_t that describes the string
903899 *
904900 * \since v0.16
905901 */
906902AMQP_EXPORT
907- amqp_bytes_t AMQP_CALL amqp_bytes_from_buffer (char const * cstr , size_t length );
903+ amqp_bytes_t AMQP_CALL amqp_bytes_from_buffer (void const * ptr , size_t length );
908904
909905/**
910906 * Duplicates an amqp_bytes_t buffer.
You can’t perform that action at this time.
0 commit comments