The OpenD Programming Language

cef_v8context_t.eval

Execute a string of JavaScript code in this V8 context. The |script_url| parameter is the URL where the script in question can be found, if any. The |start_line| parameter is the base line number to use for error reporting. On success |retval| will be set to the return value, if any, and the function will return true (1). On failure |exception| will be set to the exception, if any, and the function will return false (0).

struct cef_v8context_t
extern (System)
int function(cef_v8context_t* self, const(cef_string_t)* code, const(cef_string_t)* script_url, int start_line, cef_v8value_t** retval, cef_v8exception_t** exception) nothrow eval;

Meta