The OpenD Programming Language

cef_v8value_t.execute_function

Execute the function using the current V8 context. This function should only be called from within the scope of a cef_v8handler_t or cef_v8accessor_t callback, or in combination with calling enter() and exit() on a stored cef_v8context_t reference. |object| is the receiver ('this' object) of the function. If |object| is NULL the current context's global object will be used. |arguments| is the list of arguments that will be passed to the function. Returns the function return value on success. Returns NULL if this function is called incorrectly or an exception is thrown.

struct cef_v8value_t
extern (System)
cef_v8value_t* function(cef_v8value_t* self, cef_v8value_t* object, size_t argumentsCount, cef_v8value_t** arguments) nothrow execute_function;

Meta