230813.1 · f86566b2631b777c0d0c9a4572eb21146a14829b
Rename jv_type_private.h to jv_private.h, move jvp_number_is_nan there
reading declarations
@@ -7,7 +7,7 @@ LIBJQ_INCS = src/builtin.h src/bytecode.h src/compile.h \ src/linker.h src/locfile.h src/opcode_list.h src/parser.y \ src/util.h src/decNumber/decContext.h src/decNumber/decNumber.h \ src/decNumber/decNumberLocal.h src/jv_dtoa_tsd.h src/jv_thread.h \- src/jv_type_private.h+ src/jv_private.h LIBJQ_SRC = src/builtin.c src/bytecode.c src/compile.c src/execute.c \ src/jq_test.c src/jv.c src/jv_alloc.c src/jv_aux.c \
@@ -43,6 +43,7 @@ void *alloca (size_t); #include "locfile.h" #include "jv_unicode.h" #include "jv_alloc.h"+#include "jv_private.h" #include "util.h"
@@ -70,7 +70,6 @@ jv jv_number(double); jv jv_number_with_literal(const char*); double jv_number_value(jv); int jv_is_integer(jv);-int jvp_number_is_nan(jv); int jv_number_has_literal(jv n); const char* jv_number_get_literal(jv);
@@ -2,7 +2,7 @@ #include <stdlib.h> #include <assert.h> #include "jv_alloc.h"-#include "jv_type_private.h"+#include "jv_private.h" // making this static verbose function here // until we introduce a less confusing naming scheme
@@ -14,7 +14,7 @@ #include "jv_dtoa_tsd.h" #include "jv_unicode.h" #include "jv_alloc.h"-#include "jv_type_private.h"+#include "jv_private.h" #ifndef MAX_PRINT_DEPTH #define MAX_PRINT_DEPTH (256)
@@ -0,0 +1,7 @@+#ifndef JV_PRIVATE+#define JV_PRIVATE++int jvp_number_cmp(jv, jv);+int jvp_number_is_nan(jv);++#endif //JV_PRIVATE
src/jv_type_private.h
@@ -1,6 +0,0 @@-#ifndef JV_TYPE_PRIVATE-#define JV_TYPE_PRIVATE--int jvp_number_cmp(jv, jv);--#endif //JV_TYPE_PRIVATE