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.
Diff: ring.h
- Revision:
- 1:a4c87bc5b008
- Parent:
- 0:b3a2e39a13ad
- Child:
- 3:27019c77bf90
--- a/ring.h Wed Nov 28 18:52:43 2012 +0000 +++ b/ring.h Thu Nov 29 22:45:41 2012 +0000 @@ -1,4 +1,22 @@ -/***************************************************************************** +/* Copyright (c) <2012> <copyright J. Grelet>, MIT License + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of this software + * and associated documentation files (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, publish, distribute, + * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + + /***************************************************************************** * * * ring.cpp : Module template de gestion de buffers circulaires tous types * * * @@ -24,6 +42,8 @@ * Les fonctions ont ete renommees * * Nouvelle fonction shift( n ) : supprime n elements * * * + * J. Grelet Novembre 2012 * + * - Adapted for mbed ARM cortex * *****************************************************************************/ #ifdef DEBUG