MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at type-hints-typescript 43 lines 968 B view raw
1#ifndef TYPES_H 2#define TYPES_H 3 4#include <stdint.h> 5#include <stddef.h> 6 7typedef unsigned long long u64; 8 9struct ant_object; 10struct ant_shape; 11struct ant_isolate_t; 12 13typedef struct ant_isolate_t ant_t; 14typedef struct ant_pool_block ant_pool_block_t; 15typedef struct ant_http_request_s ant_http_request_t; 16 17typedef struct ant_object ant_object_t; 18typedef struct ant_shape ant_shape_t; 19 20typedef struct sv_vm sv_vm_t; 21typedef struct sv_func sv_func_t; 22typedef struct sv_closure sv_closure_t; 23typedef struct sv_frame sv_frame_t; 24 25typedef size_t ant_handle_t; 26typedef uint64_t ant_offset_t; 27typedef uint64_t ant_value_t; 28 29typedef ant_value_t 30 (*ant_cfunc_t) 31 (ant_t *, ant_value_t *, int); 32 33typedef struct ant_cfunc_meta { 34 ant_cfunc_t fn; 35 const char *name; 36 uint32_t length; 37 uint8_t flags; 38} ant_cfunc_meta_t; 39 40#define ant_bind_t ant_value_t func, ant_value_t this_val 41#define ant_params_t ant_t *js, ant_value_t *args, int nargs 42 43#endif