Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2995189
runtime.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
586 B
Referenced Files
None
Subscribers
None
runtime.h
View Options
#ifndef RUNTIME_H
#define RUNTIME_H
#include
"ant.h"
#include
<argtable3.h>
#define ANT_RUNTIME_CRYPTO_INIT (1u << 0)
#define ANT_RUNTIME_EXT_EVENT_LOOP (1u << 1)
#define CODE_ARENA_BLOCK_SIZE (64 * 1024)
struct
ant_runtime
{
struct
js
*
js
;
char
**
argv
;
jsval_t
ant_obj
;
int
argc
;
unsigned
int
flags
;
const
char
*
ls_fp
;
};
extern
struct
ant_runtime
*
const
rt
;
struct
ant_runtime
*
ant_runtime_init
(
struct
js
*
js
,
int
argc
,
char
**
argv
,
struct
arg_file
*
ls_p
);
const
char
*
code_arena_alloc
(
const
char
*
code
,
size_t
len
);
void
code_arena_reset
(
void
);
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Mon, Mar 30, 5:26 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
516249
Default Alt Text
runtime.h (586 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment