rm gc fns
This commit is contained in:
752
source/quickjs.c
752
source/quickjs.c
File diff suppressed because it is too large
Load Diff
@@ -386,13 +386,11 @@ JSRuntime *JS_NewRuntime (void);
|
||||
/* info lifetime must exceed that of rt */
|
||||
void JS_SetRuntimeInfo (JSRuntime *rt, const char *info);
|
||||
void JS_SetMemoryLimit (JSRuntime *rt, size_t limit);
|
||||
void JS_SetGCThreshold (JSRuntime *rt, size_t gc_threshold);
|
||||
/* use 0 to disable maximum stack size check */
|
||||
void JS_SetMaxStackSize (JSRuntime *rt, size_t stack_size);
|
||||
/* should be called when changing thread to update the stack top value
|
||||
used to check stack overflow. */
|
||||
void JS_UpdateStackTop (JSRuntime *rt);
|
||||
JSRuntime *JS_NewRuntime2 (const JSMallocFunctions *mf, void *opaque);
|
||||
void JS_FreeRuntime (JSRuntime *rt);
|
||||
void *JS_GetRuntimeOpaque (JSRuntime *rt);
|
||||
void JS_SetRuntimeOpaque (JSRuntime *rt, void *opaque);
|
||||
@@ -1016,10 +1014,9 @@ void js_free (JSContext *ctx, void *ptr);
|
||||
char *js_strdup (JSContext *ctx, const char *str);
|
||||
|
||||
/* Runtime-level memory functions */
|
||||
void *js_malloc_rt (JSRuntime *rt, size_t size);
|
||||
void *js_mallocz_rt (JSRuntime *rt, size_t size);
|
||||
void js_free_rt (JSRuntime *rt, void *ptr);
|
||||
size_t js_malloc_usable_size_rt (JSRuntime *rt, const void *ptr);
|
||||
void *js_malloc_rt (size_t size);
|
||||
void *js_mallocz_rt (size_t size);
|
||||
void js_free_rt (void *ptr);
|
||||
|
||||
/* Intrinsic setup functions */
|
||||
void JS_AddIntrinsicBaseObjects (JSContext *ctx);
|
||||
|
||||
Reference in New Issue
Block a user