MCPcopy Create free account
hub / github.com/Snapchat/Valdi / JS_SetProperty

Function JS_SetProperty

third-party/quickjs/include/quickjs/quickjs.h:723–725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721int JS_SetPropertyInternal(
722 JSContext* ctx, JSValueConst obj, JSAtom prop, JSValue val, JSValueConst this_obj, int flags);
723static inline int JS_SetProperty(JSContext* ctx, JSValueConst this_obj, JSAtom prop, JSValue val) {
724 return JS_SetPropertyInternal(ctx, this_obj, prop, val, this_obj, JS_PROP_THROW);
725}
726
727void JS_SetPropertyCacheEnabledRT(JSRuntime* rt, int enabled);
728int JS_SetProperty_tsn(JSContext* ctx, JSValueConst this_obj, JSAtom prop, JSValue val);

Callers 5

setObjectPropertyMethod · 0.85
tsn_iterator_resultFunction · 0.85
tsn_new_generatorFunction · 0.85
tsn_set_propertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected