Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
dart::CatchEntryMoves Class Reference

#include <exceptions.h>

Public Member Functions

intptr_t count () const
 
CatchEntryMoveAt (intptr_t i)
 
const CatchEntryMoveAt (intptr_t i) const
 

Static Public Member Functions

static CatchEntryMovesAllocate (intptr_t num_moves)
 
static void Free (const CatchEntryMoves *moves)
 

Detailed Description

Definition at line 252 of file exceptions.h.

Member Function Documentation

◆ Allocate()

static CatchEntryMoves * dart::CatchEntryMoves::Allocate ( intptr_t  num_moves)
inlinestatic

Definition at line 254 of file exceptions.h.

254 {
255 auto result = reinterpret_cast<CatchEntryMoves*>(
256 malloc(sizeof(CatchEntryMoves) + sizeof(CatchEntryMove) * num_moves));
257 result->count_ = num_moves;
258 return result;
259 }
GAsyncResult * result
void * malloc(size_t size)
Definition allocation.cc:19

◆ At() [1/2]

CatchEntryMove & dart::CatchEntryMoves::At ( intptr_t  i)
inline

Definition at line 266 of file exceptions.h.

266{ return Moves()[i]; }

◆ At() [2/2]

const CatchEntryMove & dart::CatchEntryMoves::At ( intptr_t  i) const
inline

Definition at line 267 of file exceptions.h.

267{ return Moves()[i]; }

◆ count()

intptr_t dart::CatchEntryMoves::count ( ) const
inline

Definition at line 265 of file exceptions.h.

265{ return count_; }

◆ Free()

static void dart::CatchEntryMoves::Free ( const CatchEntryMoves moves)
inlinestatic

Definition at line 261 of file exceptions.h.

261 {
262 free(const_cast<CatchEntryMoves*>(moves));
263 }

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