Ultralight C API 1.3.0
Loading...
Searching...
No Matches
JSStaticValue Struct Reference

#include <JavaScriptCore/JSObjectRef.h>

Details

This structure describes a statically declared value property.

  • name A null-terminated UTF8 string containing the property's name.
  • getProperty A JSObjectGetPropertyCallback to invoke when getting the property's value.
  • setProperty A JSObjectSetPropertyCallback to invoke when setting the property's value. May be NULL if the ReadOnly attribute is set.
  • attributes A logically ORed set of JSPropertyAttributes to give to the property.

Data Fields

const char * name
 
JSObjectGetPropertyCallback getProperty
 
JSObjectSetPropertyCallback setProperty
 
JSPropertyAttributes attributes
 

Field Documentation

◆ attributes

JSPropertyAttributes JSStaticValue::attributes

◆ getProperty

JSObjectGetPropertyCallback JSStaticValue::getProperty

◆ name

const char* JSStaticValue::name

◆ setProperty

JSObjectSetPropertyCallback JSStaticValue::setProperty

The documentation for this struct was generated from the following file: