Move back const_string.h in gmio_core/internal
This commit is contained in:
parent
3914e51863
commit
cad0804c17
@ -27,22 +27,14 @@
|
|||||||
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/*! \file const_string.h
|
#ifndef GMIO_INTERNAL_CONST_STRING_H
|
||||||
* Declaration of gmio_const_string and utility functions
|
#define GMIO_INTERNAL_CONST_STRING_H
|
||||||
*
|
|
||||||
* \addtogroup gmio_core
|
|
||||||
* @{
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef GMIO_CONST_STRING_H
|
#include "../global.h"
|
||||||
#define GMIO_CONST_STRING_H
|
|
||||||
|
|
||||||
#include "global.h"
|
|
||||||
|
|
||||||
#include <stddef.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.
|
* For faster lookups, it knowns the length of its contents.
|
||||||
*/
|
*/
|
||||||
struct gmio_const_string
|
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;
|
return str->ptr == NULL || str->len == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* GMIO_CONST_STRING_H */
|
#endif /* GMIO_INTERNAL_CONST_STRING_H */
|
||||||
/*! @} */
|
|
@ -35,9 +35,9 @@
|
|||||||
#include "internal/stl_error_check.h"
|
#include "internal/stl_error_check.h"
|
||||||
#include "internal/stla_parsing.h"
|
#include "internal/stla_parsing.h"
|
||||||
|
|
||||||
#include "../gmio_core/const_string.h"
|
|
||||||
#include "../gmio_core/error.h"
|
#include "../gmio_core/error.h"
|
||||||
#include "../gmio_core/internal/c99_stdio_compat.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/error_check.h"
|
||||||
#include "../gmio_core/internal/helper_memblock.h"
|
#include "../gmio_core/internal/helper_memblock.h"
|
||||||
#include "../gmio_core/internal/helper_stream.h"
|
#include "../gmio_core/internal/helper_stream.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user