Move back const_string.h in gmio_core/internal

This commit is contained in:
Hugues Delorme 2017-01-09 15:45:22 +01:00
parent 3914e51863
commit cad0804c17
2 changed files with 6 additions and 15 deletions

View File

@ -27,22 +27,14 @@
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
****************************************************************************/
/*! \file const_string.h
* Declaration of gmio_const_string and utility functions
*
* \addtogroup gmio_core
* @{
*/
#ifndef GMIO_INTERNAL_CONST_STRING_H
#define GMIO_INTERNAL_CONST_STRING_H
#ifndef GMIO_CONST_STRING_H
#define GMIO_CONST_STRING_H
#include "global.h"
#include "../global.h"
#include <stddef.h>
/*! Stores a read-only string of 8-bit chars
*
/*! Stores a read-only string of 8-bit chars.
* For faster lookups, it knowns the length of its contents.
*/
struct gmio_const_string
@ -84,5 +76,4 @@ bool gmio_const_string_is_empty(const struct gmio_const_string* str)
return str->ptr == NULL || str->len == 0;
}
#endif /* GMIO_CONST_STRING_H */
/*! @} */
#endif /* GMIO_INTERNAL_CONST_STRING_H */

View File

@ -35,9 +35,9 @@
#include "internal/stl_error_check.h"
#include "internal/stla_parsing.h"
#include "../gmio_core/const_string.h"
#include "../gmio_core/error.h"
#include "../gmio_core/internal/c99_stdio_compat.h"
#include "../gmio_core/internal/const_string.h"
#include "../gmio_core/internal/error_check.h"
#include "../gmio_core/internal/helper_memblock.h"
#include "../gmio_core/internal/helper_stream.h"