libgpac
Documentation of the core library of GPAC
JSClassExoticMethods Struct Reference

#include <quickjs.h>

+ Collaboration diagram for JSClassExoticMethods:

Data Fields

int(* get_own_property )(JSContext *ctx, JSPropertyDescriptor *desc, JSValueConst obj, JSAtom prop)
 
int(* get_own_property_names )(JSContext *ctx, JSPropertyEnum **ptab, uint32_t *plen, JSValueConst obj)
 
int(* delete_property )(JSContext *ctx, JSValueConst obj, JSAtom prop)
 
int(* define_own_property )(JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
 
int(* has_property )(JSContext *ctx, JSValueConst obj, JSAtom atom)
 
JSValue(* get_property )(JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst receiver)
 
int(* set_property )(JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst value, JSValueConst receiver, int flags)
 

Field Documentation

◆ get_own_property

int(* JSClassExoticMethods::get_own_property) (JSContext *ctx, JSPropertyDescriptor *desc, JSValueConst obj, JSAtom prop)

◆ get_own_property_names

int(* JSClassExoticMethods::get_own_property_names) (JSContext *ctx, JSPropertyEnum **ptab, uint32_t *plen, JSValueConst obj)

◆ delete_property

int(* JSClassExoticMethods::delete_property) (JSContext *ctx, JSValueConst obj, JSAtom prop)

◆ define_own_property

int(* JSClassExoticMethods::define_own_property) (JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)

◆ has_property

int(* JSClassExoticMethods::has_property) (JSContext *ctx, JSValueConst obj, JSAtom atom)

◆ get_property

JSValue(* JSClassExoticMethods::get_property) (JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst receiver)

◆ set_property

int(* JSClassExoticMethods::set_property) (JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst value, JSValueConst receiver, int flags)