The OpenD Programming Language

cef_v8handler_t

Structure that should be implemented to handle V8 function calls. The functions of this structure will be called on the thread associated with the V8 function.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

execute
int function(cef_v8handler_t* self, const(cef_string_t)* name, cef_v8value_t* object, size_t argumentsCount, cef_v8value_t** arguments, cef_v8value_t** retval, cef_string_t* exception) nothrow execute;

Handle execution of the function identified by |name|. |object| is the receiver ('this' object) of the function. |arguments| is the list of arguments passed to the function. If execution succeeds set |retval| to the function return value. If execution fails set |exception| to the exception that will be thrown. Return true (1) if execution was handled.

Meta