Rename jv_type_private.h to jv_private.h, move jvp_number_is_nan there
This commit is contained in:
1 parent
f31c180e8f
commit
f86566b263
7 files changed
+11
-10
No files matched your search
@@ -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);
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
@@ -1,6 +0,0 @@
|
||||
#ifndef JV_TYPE_PRIVATE
|
||||
#define JV_TYPE_PRIVATE
|
||||
|
||||
int jvp_number_cmp(jv, jv);
|
||||
|
||||
#endif //JV_TYPE_PRIVATE
|
||||
Reference in new issue
Block a user