Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
Skwasm::sp_wrapper< T > Class Template Reference

#include <helpers.h>

Public Member Functions

 sp_wrapper (std::shared_ptr< T > ptr)
 
const std::shared_ptr< T > & Shared ()
 
T * Raw ()
 

Detailed Description

template<typename T>
class Skwasm::sp_wrapper< T >

Definition at line 17 of file helpers.h.

Constructor & Destructor Documentation

◆ sp_wrapper()

template<typename T >
Skwasm::sp_wrapper< T >::sp_wrapper ( std::shared_ptr< T >  ptr)
inline

Definition at line 19 of file helpers.h.

19: ptr_(std::move(ptr)) {}

Member Function Documentation

◆ Raw()

template<typename T >
T * Skwasm::sp_wrapper< T >::Raw ( )
inline

Definition at line 23 of file helpers.h.

23{ return ptr_.get(); }

Referenced by canvas_saveLayer().

◆ Shared()


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