Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <stdio.h>
#include <exception>
#include "duktape.h"
Go to the source code of this file.
Data Structures | |
class | my_class |
class | my_exception |
class | my_exception2 |
Macros | |
#define | NOEXCEPT throw() |
Functions | |
duk_ret_t | test1 (duk_context *ctx) |
duk_ret_t | test2 (duk_context *ctx) |
duk_ret_t | test3 (duk_context *ctx) |
duk_ret_t | test4 (duk_context *ctx) |
duk_ret_t | test5 (duk_context *ctx) |
int | main (int argc, char *argv[]) |
#define NOEXCEPT throw() |
Definition at line 35 of file duktape-1.5.2/examples/cpp-exceptions/cpp_exceptions.cpp.
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 143 of file duktape-1.5.2/examples/cpp-exceptions/cpp_exceptions.cpp.
References duk_create_heap_default, duk_destroy_heap(), duk_eval_string_noresult, duk_pcall(), duk_pop(), duk_push_c_function(), duk_put_global_string(), duk_safe_call(), duk_safe_to_string, printf, test1(), test2(), test3(), test4(), and test5().
duk_ret_t test1 | ( | duk_context * | ctx | ) |
Definition at line 61 of file duktape-1.5.2/examples/cpp-exceptions/cpp_exceptions.cpp.
References duk_eval_string.
Referenced by main().
duk_ret_t test2 | ( | duk_context * | ctx | ) |
duk_ret_t test3 | ( | duk_context * | ctx | ) |
Definition at line 95 of file duktape-1.5.2/examples/cpp-exceptions/cpp_exceptions.cpp.
Referenced by main().
duk_ret_t test4 | ( | duk_context * | ctx | ) |
Definition at line 114 of file duktape-1.5.2/examples/cpp-exceptions/cpp_exceptions.cpp.
Referenced by main().
duk_ret_t test5 | ( | duk_context * | ctx | ) |
Definition at line 134 of file duktape-1.5.2/examples/cpp-exceptions/cpp_exceptions.cpp.
Referenced by main().