gmio_stl,support: better consistency of double-inclusion guard macros

This commit is contained in:
Hugues Delorme 2015-04-02 10:41:41 +02:00
parent cdda49e7b3
commit 2af6e06380
8 changed files with 24 additions and 24 deletions

View File

@ -17,8 +17,8 @@
* List of errors specific to STL I/O functions
*/
#ifndef GMIO_LIBSTL_STL_ERROR_H
#define GMIO_LIBSTL_STL_ERROR_H
#ifndef GMIO_STL_ERROR_H
#define GMIO_STL_ERROR_H
/*! A byte-mask to tag(identify) STL-specific error codes */
enum { GMIO_STL_ERROR_TAG = 0x11000000 };
@ -60,4 +60,4 @@ enum gmio_stl_error
typedef enum gmio_stl_error gmio_stl_error_t;
#endif /* GMIO_LIBSTL_STL_ERROR_H */
#endif /* GMIO_STL_ERROR_H */

View File

@ -17,8 +17,8 @@
* Detection of STL format from input stream
*/
#ifndef GMIO_LIBSTL_FORMAT_H
#define GMIO_LIBSTL_FORMAT_H
#ifndef GMIO_STL_FORMAT_H
#define GMIO_STL_FORMAT_H
#include "stl_global.h"
#include "../gmio_core/stream.h"
@ -48,4 +48,4 @@ gmio_stl_format_t gmio_stl_get_format(gmio_stream_t* stream);
GMIO_C_LINKAGE_END
#endif /* GMIO_LIBSTL_FORMAT_H */
#endif /* GMIO_STL_FORMAT_H */

View File

@ -17,8 +17,8 @@
* Global declarations for the STL module
*/
#ifndef GMIO_LIBSTL_GLOBAL_H
#define GMIO_LIBSTL_GLOBAL_H
#ifndef GMIO_STL_GLOBAL_H
#define GMIO_STL_GLOBAL_H
#include "../gmio_core/global.h"
@ -44,4 +44,4 @@ enum {
GMIO_STLB_MIN_CONTENTS_SIZE = 284
};
#endif /* GMIO_LIBSTL_GLOBAL_H */
#endif /* GMIO_STL_GLOBAL_H */

View File

@ -17,8 +17,8 @@
* STL read/write functions
*/
#ifndef GMIO_LIBSTL_STL_IO_H
#define GMIO_LIBSTL_STL_IO_H
#ifndef GMIO_STL_IO_H
#define GMIO_STL_IO_H
#include "stl_global.h"
#include "stl_mesh.h"
@ -176,4 +176,4 @@ int gmio_stlb_write(
GMIO_C_LINKAGE_END
#endif /* GMIO_LIBSTL_STL_IO_H */
#endif /* GMIO_STL_IO_H */

View File

@ -17,8 +17,8 @@
* Declaration of gmio_stl_mesh
*/
#ifndef GMIO_LIBSTL_STL_MESH_H
#define GMIO_LIBSTL_STL_MESH_H
#ifndef GMIO_STL_MESH_H
#define GMIO_STL_MESH_H
#include "stl_global.h"
#include "stl_triangle.h"
@ -41,4 +41,4 @@ struct gmio_stl_mesh
typedef struct gmio_stl_mesh gmio_stl_mesh_t;
#endif /* GMIO_LIBSTL_STL_MESH_H */
#endif /* GMIO_STL_MESH_H */

View File

@ -17,8 +17,8 @@
* Declaration of gmio_stl_mesh_creator
*/
#ifndef GMIO_LIBSTL_STL_MESH_CREATOR_H
#define GMIO_LIBSTL_STL_MESH_CREATOR_H
#ifndef GMIO_STL_MESH_CREATOR_H
#define GMIO_STL_MESH_CREATOR_H
#include "stl_global.h"
#include "stl_triangle.h"
@ -73,4 +73,4 @@ struct gmio_stl_mesh_creator
typedef struct gmio_stl_mesh_creator gmio_stl_mesh_creator_t;
#endif /* GMIO_LIBSTL_STL_MESH_CREATOR_H */
#endif /* GMIO_STL_MESH_CREATOR_H */

View File

@ -17,8 +17,8 @@
* Declaration of gmio_stl_coords and gmio_stl_triangle
*/
#ifndef GMIO_LIBSTL_TRIANGLE_H
#define GMIO_LIBSTL_TRIANGLE_H
#ifndef GMIO_STL_TRIANGLE_H
#define GMIO_STL_TRIANGLE_H
#include "stl_global.h"
@ -58,4 +58,4 @@ enum {
GMIO_STLB_TRIANGLE_RAWSIZE = (GMIO_STLA_TRIANGLE_RAWSIZE + sizeof(uint16_t))
};
#endif /* GMIO_LIBSTL_TRIANGLE_H */
#endif /* GMIO_STL_TRIANGLE_H */

View File

@ -13,8 +13,8 @@
** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html".
****************************************************************************/
#ifndef GMIO_C_SUPPORT_GLOBAL_H
#define GMIO_C_SUPPORT_GLOBAL_H
#ifndef GMIO_SUPPORT_GLOBAL_H
#define GMIO_SUPPORT_GLOBAL_H
#include "../gmio_core/global.h"
@ -28,4 +28,4 @@
# define GMIO_LIBSUPPORT_EXPORT
#endif /* GMIO_LIBSUPPORT_DLL */
#endif /* GMIO_C_SUPPORT_GLOBAL_H */
#endif /* GMIO_SUPPORT_GLOBAL_H */