Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "duktape.h"
Go to the source code of this file.
Functions | |
static duk_ret_t | native_prime_check (duk_context *ctx) |
int | main (int argc, const char *argv[]) |
int main | ( | int | argc, |
const char * | argv[] ) |
Definition at line 23 of file duktape-1.5.2/examples/guide/primecheck.c.
References duk_create_heap_default, duk_destroy_heap(), duk_get_prop_string(), duk_pcall(), duk_peval_file, duk_pop(), duk_push_c_function(), duk_push_global_object(), duk_put_prop_string(), duk_safe_to_string, native_prime_check(), NULL, and printf.
|
static |
Definition at line 7 of file duktape-1.5.2/examples/guide/primecheck.c.
References duk_push_false(), duk_push_true(), and duk_require_int().
Referenced by main().