Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2922427
snapshot.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
478 B
Referenced Files
None
Subscribers
None
snapshot.c
View Options
#include
<string.h>
#include
"ant.h"
#include
"snapshot.h"
#include
"internal.h"
#include
"snapshot_data.h"
jsval_t
ant_load_snapshot
(
ant_t
*
js
)
{
if
(
!
js
)
return
js_mkundef
();
jsval_t
result
=
js_eval_cached
(
js
,
(
const
char
*
)
ant_snapshot_source
,
ant_snapshot_source_len
);
if
(
vtype
(
result
)
==
T_ERR
)
return
result
;
return
js_true
;
}
const
uint8_t
*
ant_get_snapshot_source
(
size_t
*
len
)
{
if
(
len
)
*
len
=
ant_snapshot_source_len
;
return
ant_snapshot_source
;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Mar 27, 1:03 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
512857
Default Alt Text
snapshot.c (478 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment