ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

function.c File Reference
#include "jscript.h"
#include "engine.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  FunctionInstance

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (jscript)
static FunctionInstancefunction_from_vdisp (vdisp_t *vdisp)
static FunctionInstancefunction_this (vdisp_t *jsthis)
static IDispatchget_this (DISPPARAMS *dp)
static HRESULT init_parameters (DispatchEx *var_disp, FunctionInstance *function, DISPPARAMS *dp, jsexcept_t *ei, IServiceProvider *caller)
static HRESULT Arguments_value (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
static HRESULT create_arguments (script_ctx_t *ctx, IDispatch *calee, DISPPARAMS *dp, jsexcept_t *ei, IServiceProvider *caller, DispatchEx **ret)
static HRESULT create_var_disp (script_ctx_t *ctx, FunctionInstance *function, DISPPARAMS *dp, jsexcept_t *ei, IServiceProvider *caller, DispatchEx **ret)
static HRESULT invoke_source (script_ctx_t *ctx, FunctionInstance *function, IDispatch *this_obj, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
static HRESULT invoke_constructor (script_ctx_t *ctx, FunctionInstance *function, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
static HRESULT invoke_value_proc (script_ctx_t *ctx, FunctionInstance *function, IDispatch *this_disp, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
static HRESULT call_function (script_ctx_t *ctx, FunctionInstance *function, IDispatch *this_obj, DISPPARAMS *args, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
static HRESULT function_to_string (FunctionInstance *function, BSTR *ret)
static HRESULT Function_length (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
static HRESULT Function_toString (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
static HRESULT array_to_args (script_ctx_t *ctx, DispatchEx *arg_array, jsexcept_t *ei, IServiceProvider *caller, DISPPARAMS *args)
static HRESULT Function_apply (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
static HRESULT Function_call (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
HRESULT Function_value (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *caller)
static void Function_destructor (DispatchEx *dispex)
static HRESULT create_function (script_ctx_t *ctx, const builtin_info_t *builtin_info, DWORD flags, BOOL funcprot, DispatchEx *prototype, FunctionInstance **ret)
static HRESULT set_prototype (script_ctx_t *ctx, DispatchEx *dispex, DispatchEx *prototype)
HRESULT create_builtin_function (script_ctx_t *ctx, builtin_invoke_t value_proc, const WCHAR *name, const builtin_info_t *builtin_info, DWORD flags, DispatchEx *prototype, DispatchEx **ret)
HRESULT create_source_function (parser_ctx_t *ctx, parameter_t *parameters, source_elements_t *source, scope_chain_t *scope_chain, const WCHAR *src_str, DWORD src_len, DispatchEx **ret)
static HRESULT construct_function (script_ctx_t *ctx, DISPPARAMS *dp, jsexcept_t *ei, IDispatch **ret)
static HRESULT FunctionConstr_value (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
static HRESULT FunctionProt_value (script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, DISPPARAMS *dp, VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
HRESULT init_function_constr (script_ctx_t *ctx, DispatchEx *object_prototype)

Variables

static const WCHAR prototypeW [] = {'p','r','o','t','o','t', 'y', 'p','e',0}
static const WCHAR lengthW [] = {'l','e','n','g','t','h',0}
static const WCHAR toStringW [] = {'t','o','S','t','r','i','n','g',0}
static const WCHAR applyW [] = {'a','p','p','l','y',0}
static const WCHAR callW [] = {'c','a','l','l',0}
static const builtin_info_t Arguments_info
static const builtin_prop_t Function_props []
static const builtin_info_t Function_info

Generated on Sun May 27 2012 04:39:44 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.