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

#include <JavaScriptCore/JSObjectRef.h>

Details

This structure describes a statically declared function property.

  • name A null-terminated UTF8 string containing the property's name.
  • callAsFunction A JSObjectCallAsFunctionCallback to invoke when the property is called as a function.
  • attributes A logically ORed set of JSPropertyAttributes to give to the property.

Data Fields

const char * name
 
JSObjectCallAsFunctionCallback callAsFunction
 
JSPropertyAttributes attributes
 

Field Documentation

◆ attributes

JSPropertyAttributes JSStaticFunction::attributes

◆ callAsFunction

JSObjectCallAsFunctionCallback JSStaticFunction::callAsFunction

◆ name

const char* JSStaticFunction::name

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