Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
DUK_LOCAL void duk__call_prop_prep_stack | ( | duk_context * | ctx, |
duk_idx_t | normalized_obj_index, | ||
duk_idx_t | nargs ) |
Definition at line 12 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT_CTX_VALID, DUK_DDD, DUK_DDDPRINT, duk_dup(), duk_get_prop(), duk_get_top(), duk_get_tval(), duk_insert(), and duk_replace().
Referenced by duk__pcall_prop_raw(), and duk_call_prop().
DUK_LOCAL duk_ret_t duk__pcall_prop_raw | ( | duk_context * | ctx | ) |
Definition at line 166 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk__call_prop_prep_stack(), DUK_ASSERT_CTX_VALID, duk_call_method(), duk_get_int(), duk_pop_2(), and duk_require_normalize_index().
Referenced by duk_pcall_prop().
DUK_LOCAL duk_ret_t duk__pnew_helper | ( | duk_context * | ctx | ) |
Definition at line 423 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk_new(), duk_pop(), and duk_to_uint().
Referenced by duk_pnew().
DUK_EXTERNAL void duk_call | ( | duk_context * | ctx, |
duk_idx_t | nargs ) |
Definition at line 38 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ERROR_API, duk_get_top(), duk_handle_call_unprotected(), duk_insert(), duk_push_undefined(), DUK_STR_INVALID_CALL_ARGS, and NULL.
DUK_EXTERNAL void duk_call_method | ( | duk_context * | ctx, |
duk_idx_t | nargs ) |
Definition at line 65 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ERROR_API, duk_get_top(), duk_handle_call_unprotected(), DUK_STR_INVALID_CALL_ARGS, and NULL.
Referenced by duk__pcall_prop_raw(), and duk_call_prop().
DUK_EXTERNAL void duk_call_prop | ( | duk_context * | ctx, |
duk_idx_t | obj_index, | ||
duk_idx_t | nargs ) |
Definition at line 86 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk__call_prop_prep_stack(), DUK_ASSERT_CTX_VALID, duk_call_method(), and duk_require_normalize_index().
DUK_EXTERNAL duk_int_t duk_get_current_magic | ( | duk_context * | ctx | ) |
Definition at line 493 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk_hthread::callstack_top, DUK_ACT_GET_FUNC, DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ASSERT_DISABLE, DUK_HOBJECT_IS_NATIVEFUNCTION, duk_hthread_get_current_activation(), DUK_LFUNC_FLAGS_GET_MAGIC, DUK_TVAL_GET_LIGHTFUNC_FLAGS, duk_hnativefunction::magic, NULL, and duk_activation::tv_func.
DUK_EXTERNAL duk_int_t duk_get_magic | ( | duk_context * | ctx, |
duk_idx_t | index ) |
Definition at line 521 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ERROR_TYPE, DUK_HOBJECT_HAS_NATIVEFUNCTION, DUK_LFUNC_FLAGS_GET_MAGIC, duk_require_tval(), DUK_STR_UNEXPECTED_TYPE, DUK_TVAL_GET_LIGHTFUNC_FLAGS, DUK_TVAL_GET_OBJECT, DUK_TVAL_IS_LIGHTFUNC, DUK_TVAL_IS_OBJECT, index, and NULL.
DUK_EXTERNAL duk_bool_t duk_is_constructor_call | ( | duk_context * | ctx | ) |
Definition at line 451 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk_hthread::callstack_top, DUK_ACT_FLAG_CONSTRUCT, DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ASSERT_DISABLE, duk_hthread_get_current_activation(), duk_activation::flags, and NULL.
DUK_EXTERNAL duk_bool_t duk_is_strict_call | ( | duk_context * | ctx | ) |
Definition at line 464 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk_hthread::callstack_top, DUK_ACT_FLAG_STRICT, DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ASSERT_DISABLE, duk_hthread_get_current_activation(), duk_activation::flags, and NULL.
DUK_EXTERNAL void duk_new | ( | duk_context * | ctx, |
duk_idx_t | nargs ) |
Definition at line 225 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_CALL_FLAG_CONSTRUCTOR_CALL, DUK_DDD, DUK_DDDPRINT, duk_dup(), duk_dup_top(), duk_err_augment_error_create(), DUK_ERROR_TYPE, duk_get_hobject(), duk_get_prop_stridx(), duk_get_top(), duk_get_tval(), DUK_GET_TVAL_NEGIDX, duk_handle_call_unprotected(), DUK_HOBJECT_HAS_BOUND, DUK_HOBJECT_HAS_CONSTRUCTABLE, DUK_HOBJECT_IS_CALLABLE, DUK_HOBJECT_SET_PROTOTYPE_UPDREF, duk_hthread_sync_currpc(), duk_insert(), duk_is_callable, duk_is_lightfunc(), duk_is_object(), duk_pop(), duk_push_object(), duk_remove(), duk_require_normalize_index(), DUK_STR_NOT_CONSTRUCTABLE, DUK_STRIDX_INT_TARGET, DUK_STRIDX_PROTOTYPE, DUK_TVAL_GET_OBJECT, DUK_TVAL_IS_LIGHTFUNC, DUK_TVAL_IS_OBJECT, NULL, and proto.
Referenced by duk__pnew_helper().
DUK_EXTERNAL duk_int_t duk_pcall | ( | duk_context * | ctx, |
duk_idx_t | nargs ) |
Definition at line 103 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ERROR_API, DUK_EXEC_ERROR, duk_get_top(), duk_handle_call_protected(), duk_insert(), duk_push_undefined(), DUK_STR_INVALID_CALL_ARGS, and NULL.
DUK_EXTERNAL duk_int_t duk_pcall_method | ( | duk_context * | ctx, |
duk_idx_t | nargs ) |
Definition at line 141 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ERROR_API, DUK_EXEC_ERROR, duk_get_top(), duk_handle_call_protected(), DUK_STR_INVALID_CALL_ARGS, and NULL.
DUK_EXTERNAL duk_int_t duk_pcall_prop | ( | duk_context * | ctx, |
duk_idx_t | obj_index, | ||
duk_idx_t | nargs ) |
Definition at line 186 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk__pcall_prop_raw(), DUK_ASSERT_CTX_VALID, duk_push_idx, and duk_safe_call().
DUK_EXTERNAL duk_int_t duk_pnew | ( | duk_context * | ctx, |
duk_idx_t | nargs ) |
Definition at line 433 of file duktape-1.5.2/src-separate/duk_api_call.c.
References duk__pnew_helper(), DUK_ASSERT_CTX_VALID, duk_push_uint(), and duk_safe_call().
DUK_EXTERNAL duk_int_t duk_safe_call | ( | duk_context * | ctx, |
duk_safe_call_function | func, | ||
duk_idx_t | nargs, | ||
duk_idx_t | nrets ) |
Definition at line 204 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, DUK_ERROR_API, DUK_EXEC_ERROR, duk_get_top(), duk_handle_safe_call(), DUK_STR_INVALID_CALL_ARGS, and NULL.
Referenced by duk_pcall_prop(), and duk_pnew().
DUK_EXTERNAL void duk_set_magic | ( | duk_context * | ctx, |
duk_idx_t | index, | ||
duk_int_t | magic ) |
Definition at line 547 of file duktape-1.5.2/src-separate/duk_api_call.c.
References DUK_ASSERT, DUK_ASSERT_CTX_VALID, duk_require_hnativefunction(), index, duk_hnativefunction::magic, and NULL.