Skip to content

Commit 81ba357

Browse files
committed
Add deprecation annotations
1 parent cad8709 commit 81ba357

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

extension/apple/ExecuTorch/Exported/ExecuTorchModule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
NS_ASSUME_NONNULL_BEGIN
1212

13-
@available(*, message: "This API is experimental")
13+
__attribute__((deprecated("This API is experimental and may change without notice.")))
1414
NS_SWIFT_NAME(Module)
1515
@interface ExecuTorchModule : NSObject
1616

extension/apple/ExecuTorch/Exported/ExecuTorchTensor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
NS_ASSUME_NONNULL_BEGIN
1212

13-
@available(*, message: "This API is experimental")
13+
__attribute__((deprecated("This API is experimental and may change without notice.")))
1414
NS_SWIFT_NAME(Tensor)
1515
@interface ExecuTorchTensor : NSObject
1616

extension/apple/ExecuTorch/Exported/ExecuTorchValue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
NS_ASSUME_NONNULL_BEGIN
1212

13-
@available(*, message: "This API is experimental")
13+
__attribute__((deprecated("This API is experimental and may change without notice.")))
1414
NS_SWIFT_NAME(Value)
1515
@interface ExecuTorchValue : NSObject
1616

0 commit comments

Comments
 (0)