Loading...
Searching...
No Matches
mjs_gc_public.h
1/*
2 * Copyright (c) 2014 Cesanta Software Limited
3 * All rights reserved
4 */
5
6#ifndef MJS_GC_PUBLIC_H_
7#define MJS_GC_PUBLIC_H_
8
9#include "mjs_core_public.h"
10
11#if defined(__cplusplus)
12extern "C" {
13#endif /* __cplusplus */
14
15/*
16 * Perform garbage collection.
17 * Pass true to full in order to reclaim unused heap back to the OS.
18 */
19void mjs_gc(struct mjs* mjs, int full);
20
21#if defined(__cplusplus)
22}
23#endif /* __cplusplus */
24
25#endif /* MJS_GC_PUBLIC_H_ */
Definition mjs_core.h:63