Skip to content

Commit

Permalink
Annotate free functions (#37458)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #37458

Changelog:
Add nullability annotations for RCTInstanceRuntimeDiagnosticFlags and RCTInstanceSetRuntimeDiagnosticFlags

Reviewed By: ebgraham

Differential Revision: D45908542

fbshipit-source-id: 1f3edb566133c8e6198f39f049acf7b0284e7e5e
  • Loading branch information
Adam Cmiel authored and facebook-github-bot committed May 17, 2023
1 parent 0a4a95f commit 23fad5e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
#import <react/renderer/mapbuffer/MapBuffer.h>
#import <react/utils/ContextContainer.h>

NS_ASSUME_NONNULL_BEGIN

/**
* A utility to enable diagnostics mode at runtime. Useful for test runs.
* The flags are comma-separated string tokens, or an empty string when
* nothing is enabled.
*/
RCT_EXTERN NSString *RCTInstanceRuntimeDiagnosticFlags(void);
RCT_EXTERN void RCTInstanceSetRuntimeDiagnosticFlags(NSString *flags);

NS_ASSUME_NONNULL_BEGIN
RCT_EXTERN void RCTInstanceSetRuntimeDiagnosticFlags(NSString *_Nullable flags);

@class RCTBundleManager;
@class RCTInstance;
Expand Down

0 comments on commit 23fad5e

Please sign in to comment.