I am rather surprised that I don't already have at least F_buffer_overflow.
#ifndef _di_F_status_buffer_
F_buffer,
F_buffer_not,
+ F_buffer_overflow,
F_buffer_too_large,
F_buffer_too_small,
+ F_buffer_underflow,
F_complete_not_utf,
F_complete_not_utf_block,
F_complete_not_utf_eoa,
#ifndef _di_F_status_buffer_
const f_string_static_t f_status_buffer_s = macro_f_string_static_t_initialize(F_status_buffer_s, 0, F_status_buffer_s_length);
const f_string_static_t f_status_buffer_not_s = macro_f_string_static_t_initialize(F_status_buffer_not_s, 0, F_status_buffer_not_s_length);
+ const f_string_static_t f_status_buffer_overflow_s = macro_f_string_static_t_initialize(F_status_buffer_overflow_s, 0, F_status_buffer_overflow_s_length);
const f_string_static_t f_status_buffer_too_large_s = macro_f_string_static_t_initialize(F_status_buffer_too_large_s, 0, F_status_buffer_too_large_s_length);
const f_string_static_t f_status_buffer_too_small_s = macro_f_string_static_t_initialize(F_status_buffer_too_small_s, 0, F_status_buffer_too_small_s_length);
+ const f_string_static_t f_status_buffer_underflow_s = macro_f_string_static_t_initialize(F_status_buffer_underflow_s, 0, F_status_buffer_underflow_s_length);
const f_string_static_t f_status_complete_not_utf_s = macro_f_string_static_t_initialize(F_status_complete_not_utf_s, 0, F_status_complete_not_utf_s_length);
const f_string_static_t f_status_complete_not_utf_block_s = macro_f_string_static_t_initialize(F_status_complete_not_utf_block_s, 0, F_status_complete_not_utf_block_s_length);
const f_string_static_t f_status_complete_not_utf_eoa_s = macro_f_string_static_t_initialize(F_status_complete_not_utf_eoa_s, 0, F_status_complete_not_utf_eoa_s_length);
*name = f_status_buffer_not_s;
break;
+ case F_buffer_overflow:
+ *name = f_status_buffer_overflow_s;
+ break;
+
case F_buffer_too_large:
*name = f_status_buffer_too_large_s;
break;
*name = f_status_buffer_too_small_s;
break;
+ case F_buffer_underflow:
+ *name = f_status_buffer_underflow_s;
+ break;
+
case F_complete_not_utf_block:
*name = f_status_complete_not_utf_block_s;
break;
#ifndef _di_F_status_buffer_
#define F_status_buffer_s "F_buffer"
#define F_status_buffer_not_s "F_buffer_not"
+ #define F_status_buffer_overflow_s "F_buffer_overflow"
#define F_status_buffer_too_large_s "F_buffer_too_large"
#define F_status_buffer_too_small_s "F_buffer_too_small"
+ #define F_status_buffer_underflow_s "F_buffer_underflow"
#define F_status_complete_not_utf_s "F_complete_not_utf"
#define F_status_complete_not_utf_block_s "F_complete_not_utf_block"
#define F_status_complete_not_utf_eoa_s "F_complete_not_utf_eoa"
#define F_status_buffer_s_length 8
#define F_status_buffer_not_s_length 12
+ #define F_status_buffer_overflow_s_length 17
#define F_status_buffer_too_large_s_length 18
#define F_status_buffer_too_small_s_length 18
+ #define F_status_buffer_underflow_s_length 18
#define F_status_complete_not_utf_s_length 18
#define F_status_complete_not_utf_block_s_length 24
#define F_status_complete_not_utf_eoa_s_length 22
extern const f_string_static_t f_status_buffer_s;
extern const f_string_static_t f_status_buffer_not_s;
+ extern const f_string_static_t f_status_buffer_overflow_s;
extern const f_string_static_t f_status_buffer_too_large_s;
extern const f_string_static_t f_status_buffer_too_small_s;
+ extern const f_string_static_t f_status_buffer_underflow_s;
extern const f_string_static_t f_status_complete_not_utf_s;
extern const f_string_static_t f_status_complete_not_utf_block_s;
extern const f_string_static_t f_status_complete_not_utf_eoa_s;
return F_none;
}
+ if (fl_string_dynamic_compare(name, f_status_buffer_overflow_s) == F_equal_to) {
+ *code = F_buffer_overflow;
+
+ return F_none;
+ }
+
if (fl_string_dynamic_compare(name, f_status_buffer_too_large_s) == F_equal_to) {
*code = F_buffer_too_large;
return F_none;
}
+ if (fl_string_dynamic_compare(name, f_status_buffer_underflow_s) == F_equal_to) {
+ *code = F_buffer_underflow;
+
+ return F_none;
+ }
+
if (fl_string_dynamic_compare(name, f_status_complete_not_utf_s) == F_equal_to) {
*code = F_complete_not_utf;