Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::GCLinkedLists Struct Reference

#include <gc_shared.h>

Public Member Functions

void Release ()
 
bool IsEmpty ()
 
void FlushInto (GCLinkedLists *to)
 

Detailed Description

Definition at line 79 of file gc_shared.h.

Member Function Documentation

◆ FlushInto()

void dart::GCLinkedLists::FlushInto ( GCLinkedLists to)

Definition at line 34 of file gc_shared.cc.

34 {
35#define FOREACH(type, var) var.FlushInto(&to->var);
37#undef FOREACH
38}
#define FOREACH(type, var)
#define GC_LINKED_LIST(V)
Definition: gc_shared.h:31

◆ IsEmpty()

bool dart::GCLinkedLists::IsEmpty ( )

Definition at line 23 of file gc_shared.cc.

23 {
24#define FOREACH(type, var) \
25 if (!var.IsEmpty()) { \
26 return false; \
27 }
29 return true;
30#undef FOREACH
31}

◆ Release()

void dart::GCLinkedLists::Release ( )

Definition at line 17 of file gc_shared.cc.

17 {
18#define FOREACH(type, var) var.Release();
20#undef FOREACH
21}

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