Flutter Engine
macros.h File Reference
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include "tonic/common/log.h"

Go to the source code of this file.

Macros

#define TONIC_DISALLOW_COPY(TypeName)   TypeName(const TypeName&) = delete;
 
#define TONIC_DISALLOW_ASSIGN(TypeName)   void operator=(const TypeName&) = delete;
 
#define TONIC_DISALLOW_COPY_AND_ASSIGN(TypeName)
 
#define TONIC_CHECK(condition)
 
#define TONIC_DCHECK   TONIC_CHECK
 

Macro Definition Documentation

◆ TONIC_CHECK

◆ TONIC_DCHECK

◆ TONIC_DISALLOW_ASSIGN

#define TONIC_DISALLOW_ASSIGN (   TypeName)    void operator=(const TypeName&) = delete;

Definition at line 16 of file macros.h.

◆ TONIC_DISALLOW_COPY

#define TONIC_DISALLOW_COPY (   TypeName)    TypeName(const TypeName&) = delete;

Definition at line 14 of file macros.h.

◆ TONIC_DISALLOW_COPY_AND_ASSIGN

#define TONIC_DISALLOW_COPY_AND_ASSIGN (   TypeName)
Value:
TONIC_DISALLOW_ASSIGN(TypeName)
#define TONIC_DISALLOW_COPY(TypeName)
Definition: macros.h:14

Definition at line 19 of file macros.h.

Referenced by tonic::DartClassLibrary::add_provider().