From 46d1ce2667253f1a34cd389b6d00c0288ab0276f Mon Sep 17 00:00:00 2001 From: William Langford Date: Fri, 17 Aug 2018 23:23:10 -0400 Subject: Restore JV_PRINT_COLOUR as an alias JV_PRINT_COLOUR was part of the public libjq headers and was removed as part of 2d05b54. While JV_PRINT_COLOR is definitely the preferred spelling this side of the pond, we shouldn't just remove otherwise exposed enum values. --- src/jv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jv.h b/src/jv.h index a0d9d020..d111c80b 100644 --- a/src/jv.h +++ b/src/jv.h @@ -198,7 +198,7 @@ int jv_get_refcnt(jv); enum jv_print_flags { JV_PRINT_PRETTY = 1, JV_PRINT_ASCII = 2, - JV_PRINT_COLOR = 4, + JV_PRINT_COLOR = 4, JV_PRINT_COLOUR = 4, JV_PRINT_SORTED = 8, JV_PRINT_INVALID = 16, JV_PRINT_REFCOUNT = 32, -- cgit v1.2.3