]> Kevux Git Server - fll/commitdiff
Update: add buffer_too_small and buffer_too_large error codes
authorKevin Day <kevin@kevux.org>
Sun, 11 Mar 2012 03:09:26 +0000 (21:09 -0600)
committerKevin Day <kevin@kevux.org>
Sun, 11 Mar 2012 03:09:26 +0000 (21:09 -0600)
This could come in handy and is more generic than string_too_small and string_too_large.

level_0/f_errors/c/errors.h

index 16f2d6b32ba0b144e6673effbf0cb1258b716981..0d3a59320d1dbf8bc64ab24bc73756ed0989ab6a 100644 (file)
@@ -132,6 +132,8 @@ enum {
     f_error_on_eof,
     f_error_on_eos,
     f_error_on_stop,
+    f_buffer_too_small,
+    f_buffer_too_large,
     f_string_too_small,
     f_string_too_large,
     f_unterminated_nest,