Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
fml::ScopedNSAutoreleasePool Class Reference

#include <scoped_nsautorelease_pool.h>

Public Member Functions

 ScopedNSAutoreleasePool ()
 
 ~ScopedNSAutoreleasePool ()
 

Detailed Description

Definition at line 13 of file scoped_nsautorelease_pool.h.

Constructor & Destructor Documentation

◆ ScopedNSAutoreleasePool()

fml::ScopedNSAutoreleasePool::ScopedNSAutoreleasePool ( )

Definition at line 16 of file scoped_nsautorelease_pool.cc.

16 {
17 autorelease_pool_ = reinterpret_cast<msg_send>(objc_msgSend)(
18 objc_getClass("NSAutoreleasePool"), sel_getUid("new"));
19}

◆ ~ScopedNSAutoreleasePool()

fml::ScopedNSAutoreleasePool::~ScopedNSAutoreleasePool ( )

Definition at line 21 of file scoped_nsautorelease_pool.cc.

21 {
22 reinterpret_cast<msg_send>(objc_msgSend)(autorelease_pool_,
23 sel_getUid("drain"));
24}

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