Function
WPEJavaScriptCoreClassSetPropertyFunction
Declaration
gboolean
(* JSCClassSetPropertyFunction) (
JSCClass* jsc_class,
JSCContext* context,
gpointer instance,
const char* name,
JSCValue* value
)
Description [src]
The type of set_property in JSCClassVTable. This is only required when you need to handle
external properties not added to the prototype.
Parameters
jsc_class-
Type:
JSCClassA
JSCClass.The data is owned by the caller of the function. context-
Type:
JSCContextA
JSCContext.The data is owned by the caller of the function. instance-
Type:
gpointerThe
jsc_classinstance.The argument can be NULL.The data is owned by the caller of the function. name-
Type:
const char*The property name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. value-
Type:
JSCValueThe
JSCValueto set.The data is owned by the caller of the function.