Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
fml::internal::ScopedBlockTraits< B > Struct Template Reference

#include <scoped_block.h>

Static Public Member Functions

static B InvalidValue ()
 
static B Retain (B block)
 
static void Release (B block)
 

Detailed Description

template<typename B>
struct fml::internal::ScopedBlockTraits< B >

Definition at line 24 of file scoped_block.h.

Member Function Documentation

◆ InvalidValue()

template<typename B >
static B fml::internal::ScopedBlockTraits< B >::InvalidValue ( )
inlinestatic

Definition at line 25 of file scoped_block.h.

25{ return nullptr; }

◆ Release()

template<typename B >
static void fml::internal::ScopedBlockTraits< B >::Release ( B  block)
inlinestatic

Definition at line 30 of file scoped_block.h.

30 {
31 Block_release(BASE_MAC_BRIDGE_CAST(const void*, block));
32 }
#define BASE_MAC_BRIDGE_CAST(TYPE, VALUE)

◆ Retain()

template<typename B >
static B fml::internal::ScopedBlockTraits< B >::Retain ( B  block)
inlinestatic

Definition at line 26 of file scoped_block.h.

26 {
28 B, Block_copy(BASE_MAC_BRIDGE_CAST(const void*, block)));
29 }

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