Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <poll.h>
#include <time.h>
#include "duktape.h"
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
Functions | |
static int | poll_poll (duk_context *ctx) |
void | poll_register (duk_context *ctx) |
Variables | |
static duk_function_list_entry | poll_funcs [] |
static duk_number_list_entry | poll_consts [] |
#define _GNU_SOURCE |
Definition at line 5 of file duktape-1.8.0/examples/eventloop/poll.c.
|
static |
Definition at line 14 of file duktape-1.8.0/examples/eventloop/poll.c.
References duk_dup_top(), duk_enum(), DUK_ERR_ERROR, duk_error, duk_get_prop(), duk_next(), duk_pop(), duk_pop_n(), duk_push_array(), duk_push_int(), duk_push_string(), duk_put_prop(), duk_put_prop_index(), and duk_to_int().
void poll_register | ( | duk_context * | ctx | ) |
Definition at line 103 of file duktape-1.8.0/examples/eventloop/poll.c.
References duk_pop(), duk_push_global_object(), duk_push_object(), duk_put_function_list(), duk_put_number_list(), duk_put_prop_string(), poll_consts, poll_consts, poll_funcs, and poll_funcs.
Referenced by main().
|
static |
Definition at line 87 of file duktape-1.8.0/examples/eventloop/poll.c.
Referenced by poll_register().
|
static |
Definition at line 82 of file duktape-1.8.0/examples/eventloop/poll.c.
Referenced by poll_register().