mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RCTDeprecation BUCK integration (#41417)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41417 Changelog: [Internal] BUCK boilerplate to integrate the first RCTFoundation library. decided to split this up so we can reference it easily in the future when adding new libs Reviewed By: cipolleschi Differential Revision: D51101009 fbshipit-source-id: fe828b64c7fd939f8576a496478b6a401bfae69c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e9ecc65652
commit
c06beaeed1
+16
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifndef RCT_DEPRECATED_DECLARATIONS
|
||||
#define RCT_DEPRECATED_DECLARATIONS 0
|
||||
#endif
|
||||
|
||||
#if RCT_DEPRECATED_DECLARATIONS
|
||||
#define RCT_DEPRECATED __attribute__((deprecated))
|
||||
#else
|
||||
#define RCT_DEPRECATED
|
||||
#endif
|
||||
@@ -0,0 +1 @@
|
||||
RCTDeprecation contains C macros to identify deprecated APIs at build-time.
|
||||
Reference in New Issue
Block a user