Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2916105
loader.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
646 B
Referenced Files
None
Subscribers
None
loader.h
View Options
#ifndef ESM_LOADER_H
#define ESM_LOADER_H
#include
"types.h"
#include
<stddef.h>
#include
<stdbool.h>
void
js_esm_cleanup_module_cache
(
void
);
void
js_esm_gc_roots
(
void
(
*
visit
)(
void
*
ctx
,
jsval_t
*
val
),
void
*
ctx
);
jsval_t
js_esm_import_sync
(
ant_t
*
js
,
jsval_t
specifier
);
jsval_t
js_esm_make_file_url
(
ant_t
*
js
,
const
char
*
path
);
jsval_t
js_esm_eval_module_source
(
ant_t
*
js
,
const
char
*
resolved_path
,
const
char
*
js_code
,
size_t
js_len
,
jsval_t
ns
);
jsval_t
js_esm_import_sync_cstr
(
ant_t
*
js
,
const
char
*
specifier
,
size_t
spec_len
);
jsval_t
js_esm_resolve_specifier
(
ant_t
*
js
,
jsval_t
specifier
,
const
char
*
base_path
);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Thu, Mar 26, 4:41 PM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
511805
Default Alt Text
loader.h (646 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment