You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
convert return value of wrapped C++ function with respect to class ptr_traits
A wrapped function may return a wrapped C++ object, so we need to use
appropriate converter specialization (e.g. `convert<std::shared_ptr<T>`) for
such a wrapped class `T`.
Reusing `call_from_v8_traits<F>::arg_converter<return_type, Traits>` meta-function
to get the converter type in `forward_ret()` for the certain function result type.
Extracted `call_from_v8_traits<F>::arg_converter<Arg, Traits>` to use a type
instead of argument index.
Added optional `Traits = raw_ptr_traits` template argument to `wrap_function()`
and `wrap_function_template()` in order to allow `forward_function()`
instantiation for the specified `Traits`
Work in context of issue #113
0 commit comments