Some functions are missing the standard constant qualifier on the pointer parameters.
Improve grammar in some of the documentation comments.
#endif // _di_f_string_prepend_nulless_
#ifndef _di_f_string_seek_line_
- f_status_t f_string_seek_line(const f_string_t string, f_range_t *range) {
+ f_status_t f_string_seek_line(const f_string_t string, f_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* The string to traverse.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A single-width character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A single-width character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* The buffer to traverse.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A single-width character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A single-width character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
#endif
#ifndef _di_f_utf_buffer_decrement_
- f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_range_t *range, const f_number_unsigned_t step) {
+ f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_range_t * const range, const f_number_unsigned_t step) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (step < 1) return F_status_set_error(F_parameter);
#endif // _di_f_utf_buffer_decrement_
#ifndef _di_f_utf_buffer_increment_
- f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_range_t *range, const f_number_unsigned_t step) {
+ f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_range_t * const range, const f_number_unsigned_t step) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
if (step < 1) return F_status_set_error(F_parameter);
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_utf_buffer_decrement_
- extern f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_range_t *range, const f_number_unsigned_t step);
+ extern f_status_t f_utf_buffer_decrement(const f_string_static_t buffer, f_range_t * const range, const f_number_unsigned_t step);
#endif // _di_f_utf_buffer_decrement_
/**
* F_parameter (with error bit) if a parameter is invalid.
*/
#ifndef _di_f_utf_buffer_increment_
- extern f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_range_t *range, const f_number_unsigned_t step);
+ extern f_status_t f_utf_buffer_increment(const f_string_static_t buffer, f_range_t * const range, const f_number_unsigned_t step);
#endif // _di_f_utf_buffer_increment_
#ifdef __cplusplus
* The buffer to traverse.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A single-width character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A single-width character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
#endif // _di_f_utf_string_prepend_nulless_
#ifndef _di_f_utf_string_seek_line_
- f_status_t f_utf_string_seek_line(const f_utf_string_t string, f_range_t *range) {
+ f_status_t f_utf_string_seek_line(const f_utf_string_t string, f_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* The string to traverse.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
#endif // _di_f_utf_string_prepend_nulless_
#ifndef _di_f_utf_string_seek_line_
- f_status_t f_utf_string_seek_line(const f_utf_string_t string, f_range_t *range) {
+ f_status_t f_utf_string_seek_line(const f_utf_string_t string, f_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* The string to traverse.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
#endif // _di_f_utf_string_prepend_nulless_
#ifndef _di_f_utf_string_seek_line_
- f_status_t f_utf_string_seek_line(const f_utf_string_t string, f_range_t *range) {
+ f_status_t f_utf_string_seek_line(const f_utf_string_t string, f_range_t * const range) {
#ifndef _di_level_0_parameter_checking_
if (!range) return F_status_set_error(F_parameter);
#endif // _di_level_0_parameter_checking_
* The string to traverse.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
* A character representing a character to seek to.
* @param range
* A range within the buffer representing the start and stop locations.
- * The start location will be incremented by seek.
+ * The start location will be incremented by the seek.
*
* @return
* F_okay on success.
#endif // _di_fl_fss_basic_list_content_read_
#ifndef _di_fl_fss_basic_list_content_write_
- void fl_fss_basic_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t * const prepend, f_range_t *range, f_string_dynamic_t *destination, f_state_t * const state) {
+ void fl_fss_basic_list_content_write(const f_string_static_t content, const uint8_t complete, const f_string_static_t * const prepend, f_range_t * const range, f_string_dynamic_t * const destination, f_state_t * const state) {
#ifndef _di_level_1_parameter_checking_
if (!state) return;