5#ifndef FLUTTER_FML_PLATFORM_DARWIN_SCOPED_BLOCK_H_
6#define FLUTTER_FML_PLATFORM_DARWIN_SCOPED_BLOCK_H_
10#include "flutter/fml/compiler_specific.h"
11#include "flutter/fml/platform/darwin/scoped_typeref.h"
13#if defined(__has_feature) && __has_feature(objc_arc)
14#define BASE_MAC_BRIDGE_CAST(TYPE, VALUE) (__bridge TYPE)(VALUE)
16#define BASE_MAC_BRIDGE_CAST(TYPE, VALUE) VALUE
45#undef BASE_MAC_BRIDGE_CAST
#define BASE_MAC_BRIDGE_CAST(TYPE, VALUE)
static void Release(B block)