JSValueWrapperOwnership

Defined in header “ark/js/detail/jsvalue_wrapper.hh”.


Defines ownership semantics of the value (if this wrapper owns the value or not).

Values

  • OwnsValue = 0
    Owns the value; will free on destruction.

  • WrappingValue = 1
    Just wrapping the value; ignores it.