mirror of
https://github.com/status-im/react-native.git
synced 2025-01-12 02:24:23 +00:00
Remove deprecated RCTAssert aliases
Reviewed By: fromcelticpark Differential Revision: D5380783 fbshipit-source-id: 790d7e1bc6d99411ecc471df88f7b1f31680e7a0
This commit is contained in:
parent
8548ca09f1
commit
20224b74a4
@ -93,12 +93,6 @@ typedef void (^RCTFatalHandler)(NSError *error);
|
||||
#define RCTAssertNotMainQueue() RCTAssert(!RCTIsMainQueue(), \
|
||||
@"This function must not be called on the main queue")
|
||||
|
||||
/**
|
||||
* Deprecated, do not use
|
||||
*/
|
||||
#define RCTAssertMainThread() RCTAssertMainQueue()
|
||||
#define RCTAssertNotMainThread() RCTAssertNotMainQueue()
|
||||
|
||||
/**
|
||||
* These methods get and set the current assert function called by the RCTAssert
|
||||
* macros. You can use these to replace the standard behavior with custom assert
|
||||
|
Loading…
x
Reference in New Issue
Block a user