4.5 JSCClassSetPropertyFunction

Callback: JSCClassSetPropertyFunction

A procedure given for it is called as (procedure jsc-class context instance name value) ⇒ %return.

The type of set_property in JSCClassVTable. This is only required when you need to handle external properties not added to the prototype.

jsc-class

Passed: a <JSCClass>.

a <JSCClass>

context

Passed: a <JSCContext>.

a <JSCContext>

instance

Passed: a foreign pointer, or #f.

the jsc-class instance

name

Passed: a string.

the property name

value

Passed: a <JSCValue>.

the <JSCValue> to set

%return

Returned: a boolean.

#t if handled or #f to forward the request to the parent class or prototype chain.