Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
ble/deprecate.h@1109:09e9c8c2a5bb, 2016-01-11 (annotated)
- Committer:
- vcoubard
- Date:
- Mon Jan 11 08:51:58 2016 +0000
- Revision:
- 1109:09e9c8c2a5bb
- Parent:
- 1108:ce7f6dbab398
Synchronized with git rev b2dd219f
Author: Liyou Zhou
Fix issues
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vcoubard | 1108:ce7f6dbab398 | 1 | /* mbed Microcontroller Library |
vcoubard | 1108:ce7f6dbab398 | 2 | * Copyright (c) 2006-2013 ARM Limited |
vcoubard | 1108:ce7f6dbab398 | 3 | * |
vcoubard | 1108:ce7f6dbab398 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
vcoubard | 1108:ce7f6dbab398 | 5 | * you may not use this file except in compliance with the License. |
vcoubard | 1108:ce7f6dbab398 | 6 | * You may obtain a copy of the License at |
vcoubard | 1108:ce7f6dbab398 | 7 | * |
vcoubard | 1108:ce7f6dbab398 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
vcoubard | 1108:ce7f6dbab398 | 9 | * |
vcoubard | 1108:ce7f6dbab398 | 10 | * Unless required by applicable law or agreed to in writing, software |
vcoubard | 1108:ce7f6dbab398 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
vcoubard | 1108:ce7f6dbab398 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
vcoubard | 1108:ce7f6dbab398 | 13 | * See the License for the specific language governing permissions and |
vcoubard | 1108:ce7f6dbab398 | 14 | * limitations under the License. |
vcoubard | 1108:ce7f6dbab398 | 15 | */ |
vcoubard | 1108:ce7f6dbab398 | 16 | |
vcoubard | 1108:ce7f6dbab398 | 17 | #ifndef __DEPRECATE_H__ |
vcoubard | 1108:ce7f6dbab398 | 18 | #define __DEPRECATE_H__ |
vcoubard | 1108:ce7f6dbab398 | 19 | |
vcoubard | 1108:ce7f6dbab398 | 20 | #ifdef YOTTA_CFG_MBED_OS |
vcoubard | 1108:ce7f6dbab398 | 21 | #include "compiler-polyfill/attributes.h" |
vcoubard | 1108:ce7f6dbab398 | 22 | #else |
vcoubard | 1109:09e9c8c2a5bb | 23 | #define __deprecated_message(msg) |
vcoubard | 1108:ce7f6dbab398 | 24 | #endif |
vcoubard | 1108:ce7f6dbab398 | 25 | |
vcoubard | 1108:ce7f6dbab398 | 26 | #endif |