Function
JavaScriptCoreClassGetPropertyFunction
Declaration
JSCValue*
(* JSCClassGetPropertyFunction) (
JSCClass* jsc_class,
JSCContext* context,
gpointer instance,
const char* name
)
Description [src]
The type of get_property in JSCClassVTable
. This is only required when you need to handle
external properties not added to the prototype.
Parameters
jsc_class |
JSCClass |
A |
|
The data is owned by the caller of the function. | |
context |
JSCContext |
A |
|
The data is owned by the caller of the function. | |
instance |
gpointer |
The |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
name |
const char* |
The property name. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | JSCValue |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |