blob: 4fa04ffa487191986d0117d007ceb339dfd00818 [file] [log] [blame]
//===--- ObjCSelectorFamily.def - Objective-C Selector Families - C++ ---*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// This file defines macros used for macro-metaprogramming with Objective-C
// selector families, categories of Objective-C methods with special ARC
// semantics.
//
//===----------------------------------------------------------------------===//
#ifndef OBJC_SELECTOR_FAMILY
#define OBJC_SELECTOR_FAMILY(LABEL, PREFIX)
#endif
OBJC_SELECTOR_FAMILY(Alloc, "alloc")
OBJC_SELECTOR_FAMILY(Copy, "copy")
OBJC_SELECTOR_FAMILY(Init, "init")
OBJC_SELECTOR_FAMILY(MutableCopy, "mutableCopy")
OBJC_SELECTOR_FAMILY(New, "new")
#undef OBJC_SELECTOR_FAMILY