Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4498003
loader.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
682 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
,
ant_value_t
*
val
),
void
*
ctx
);
ant_value_t
js_esm_import_sync
(
ant_t
*
js
,
ant_value_t
specifier
);
ant_value_t
js_esm_make_file_url
(
ant_t
*
js
,
const
char
*
path
);
ant_value_t
js_esm_eval_module_source
(
ant_t
*
js
,
const
char
*
resolved_path
,
const
char
*
js_code
,
size_t
js_len
,
ant_value_t
ns
);
ant_value_t
js_esm_import_sync_cstr
(
ant_t
*
js
,
const
char
*
specifier
,
size_t
spec_len
);
ant_value_t
js_esm_resolve_specifier
(
ant_t
*
js
,
ant_value_t
specifier
,
const
char
*
base_path
);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, May 3, 7:28 AM (13 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
544039
Default Alt Text
loader.h (682 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment