remove js_malloc from public
This commit is contained in:
@@ -55,6 +55,9 @@
|
||||
#include "nota.h"
|
||||
#include "wota.h"
|
||||
|
||||
void *js_malloc (JSContext *ctx, size_t size);
|
||||
void *js_mallocz (JSContext *ctx, size_t size);
|
||||
|
||||
#if !defined(_WIN32)
|
||||
/* define it if printf uses the RNDN rounding mode instead of RNDNA */
|
||||
#define CONFIG_PRINTF_RNDN
|
||||
|
||||
@@ -1013,9 +1013,6 @@ void *js_debugger_val_address (JSContext *js, JSValue val);
|
||||
/* ============================================================
|
||||
12. Memory Allocation
|
||||
============================================================ */
|
||||
void *js_malloc (JSContext *ctx, size_t size);
|
||||
void *js_mallocz (JSContext *ctx, size_t size);
|
||||
|
||||
/* Runtime-level memory functions */
|
||||
void *js_malloc_rt (size_t size);
|
||||
void *js_mallocz_rt (size_t size);
|
||||
@@ -1023,7 +1020,7 @@ void js_free_rt (void *ptr);
|
||||
|
||||
/* ============================================================
|
||||
13. Compilation and Bytecode
|
||||
============================================================ */
|
||||
============================================================ */
|
||||
|
||||
struct cJSON;
|
||||
typedef struct MachCode MachCode;
|
||||
|
||||
Reference in New Issue
Block a user