#include <dart_api_state.h>
Definition at line 367 of file dart_api_state.h.
◆ LocalHandles()
dart::LocalHandles::LocalHandles |
( |
| ) |
|
|
inline |
Definition at line 371 of file dart_api_state.h.
375 if (FLAG_trace_handles) {
377 reinterpret_cast<intptr_t>(this));
378 }
379 }
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
static constexpr int kLocalHandlesPerChunk
static constexpr int kOffsetOfRawPtrInLocalHandle
static constexpr int kLocalHandleSizeInWords
◆ ~LocalHandles()
dart::LocalHandles::~LocalHandles |
( |
| ) |
|
|
inline |
Definition at line 380 of file dart_api_state.h.
380 {
381 if (FLAG_trace_handles) {
385 reinterpret_cast<intptr_t>(this));
386 }
387 }
◆ AllocateHandle()
◆ CountHandles()
int dart::LocalHandles::CountHandles |
( |
| ) |
const |
|
inline |
◆ IsValidHandle()
bool dart::LocalHandles::IsValidHandle |
( |
Dart_Handle |
object | ) |
const |
|
inline |
Definition at line 411 of file dart_api_state.h.
411 {
413 }
bool IsValidScopedHandle(uword handle) const
◆ Reset()
void dart::LocalHandles::Reset |
( |
| ) |
|
|
inline |
◆ VisitObjectPointers()
Definition at line 390 of file dart_api_state.h.
390 {
391 visitor->set_gc_root_type("local handle");
394 visitor->clear_gc_root_type();
395 }
void VisitObjectPointers(ObjectPointerVisitor *visitor)
The documentation for this class was generated from the following file: