Shaka Player Embedded
Static Public Member Functions | List of all members
shaka::impl::CallAndSetReturn< Ret > Struct Template Reference

#include <register_member.h>

Static Public Member Functions

template<typename Func , typename... Args>
static bool Call (const CallbackArguments &arguments, Func callback, Args &&... args)
 

Detailed Description

template<typename Ret>
struct shaka::impl::CallAndSetReturn< Ret >

A helper that calls the given callback then converts and sets the JavaScript return value.

Definition at line 190 of file register_member.h.

Member Function Documentation

§ Call()

template<typename Ret >
template<typename Func , typename... Args>
static bool shaka::impl::CallAndSetReturn< Ret >::Call ( const CallbackArguments &  arguments,
Func  callback,
Args &&...  args 
)
inlinestatic

Definition at line 192 of file register_member.h.


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