Fix minor indentation issues

This commit is contained in:
Hugues Delorme 2014-01-21 10:49:24 +01:00
parent e2ecf5361c
commit b9f3c71d24
2 changed files with 6 additions and 7 deletions

View File

@ -25,13 +25,13 @@
#ifdef FOUG_HAVE_STDINT_H #ifdef FOUG_HAVE_STDINT_H
# include <stdint.h> # include <stdint.h>
#else #else
typedef char int8_t; typedef char int8_t;
typedef unsigned char uint8_t; typedef unsigned char uint8_t;
typedef short int16_t; typedef short int16_t;
typedef unsigned short uint16_t; typedef unsigned short uint16_t;
typedef int int32_t; typedef int int32_t;
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
/*# ifdef _MSC_VER /*# ifdef _MSC_VER
@ -45,7 +45,7 @@ typedef unsigned long long uint64_t;
#endif /* FOUG_USE_STDINT_H */ #endif /* FOUG_USE_STDINT_H */
typedef int8_t foug_bool_t; typedef int8_t foug_bool_t;
typedef float foug_real32_t; typedef float foug_real32_t;
typedef double foug_real64_t; typedef double foug_real64_t;
#endif /* FOUG_C_GLOBAL_H */ #endif /* FOUG_C_GLOBAL_H */

View File

@ -10,10 +10,9 @@ typedef struct foug_stla_geom_input foug_stla_geom_input_t;
struct foug_stla_geom_input struct foug_stla_geom_input
{ {
void* cookie; void* cookie;
void (*begin_solid_func) (foug_stla_geom_input_t*, const char*); void (*begin_solid_func) (foug_stla_geom_input_t*, const char*); /* Optional */
void (*process_next_triangle_func)(foug_stla_geom_input_t*, const foug_stl_triangle_t*); void (*process_next_triangle_func)(foug_stla_geom_input_t*, const foug_stl_triangle_t*);
void (*end_solid_func) (foug_stla_geom_input_t*, const char*); void (*end_solid_func) (foug_stla_geom_input_t*, const char*); /* Optional */
/* void (*parse_error_func)(foug_stla_geom_input_t*, size_t, size_t); */
}; };
/* foug_stla_read() */ /* foug_stla_read() */