Move convert.* into internal/ folder

This commit is contained in:
Hugues Delorme 2014-01-27 15:30:46 +01:00
parent fb9985855a
commit 6ae2de4985
6 changed files with 14 additions and 14 deletions

View File

@ -28,8 +28,8 @@ HEADERS += \
../src/stream.h \ ../src/stream.h \
../src/task_control.h \ ../src/task_control.h \
../src/transfer.h \ ../src/transfer.h \
../src/convert.h \
\ \
../src/internal/convert.h \
../src/internal/ascii_parse.h ../src/internal/ascii_parse.h
SOURCES += \ SOURCES += \
@ -37,8 +37,8 @@ SOURCES += \
../src/error.c \ ../src/error.c \
../src/stream.c \ ../src/stream.c \
../src/task_control.c \ ../src/task_control.c \
../src/convert.c \
\ \
../src/internal/convert.c \
../src/internal/ascii_parse.c ../src/internal/ascii_parse.c
*-g++*:QMAKE_CFLAGS += -ansi -pedantic-errors *-g++*:QMAKE_CFLAGS += -ansi -pedantic-errors

View File

@ -1,9 +0,0 @@
#ifndef FOUG_CONVERT_H
#define FOUG_CONVERT_H
#include "global.h"
FOUG_LIB_EXPORT foug_real32_t foug_convert_real32(uint32_t val);
FOUG_LIB_EXPORT uint32_t foug_convert_uint32(foug_real32_t val);
#endif /* FOUG_CONVERT_H */

View File

@ -1,6 +1,6 @@
#include "endian.h" #include "endian.h"
#include "convert.h" #include "internal/convert.h"
#ifdef FOUG_HAVE_MSVC_BUILTIN_BSWAP_FUNC #ifdef FOUG_HAVE_MSVC_BUILTIN_BSWAP_FUNC
# include <stdlib.h> # include <stdlib.h>

9
src/internal/convert.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef FOUG_CONVERT_H
#define FOUG_CONVERT_H
#include "../global.h"
foug_real32_t foug_convert_real32(uint32_t val);
uint32_t foug_convert_uint32(foug_real32_t val);
#endif /* FOUG_CONVERT_H */

View File

@ -1,8 +1,8 @@
#include "stlb_read.h" #include "stlb_read.h"
#include "../convert.h"
#include "../error.h"
#include "../endian.h" #include "../endian.h"
#include "../error.h"
#include "../internal/convert.h"
#include <string.h> #include <string.h>