diff --git a/src/c/global.h b/src/c/global.h index 4860f6c..41da2b1 100644 --- a/src/c/global.h +++ b/src/c/global.h @@ -25,13 +25,13 @@ #ifdef FOUG_HAVE_STDINT_H # include #else -typedef char int8_t; +typedef char int8_t; typedef unsigned char uint8_t; -typedef short int16_t; +typedef short int16_t; typedef unsigned short uint16_t; -typedef int int32_t; +typedef int int32_t; typedef unsigned int uint32_t; /*# ifdef _MSC_VER @@ -45,7 +45,7 @@ typedef unsigned long long uint64_t; #endif /* FOUG_USE_STDINT_H */ typedef int8_t foug_bool_t; -typedef float foug_real32_t; +typedef float foug_real32_t; typedef double foug_real64_t; #endif /* FOUG_C_GLOBAL_H */ diff --git a/src/c/libstl/stla_read.h b/src/c/libstl/stla_read.h index a093451..4aa36f0 100644 --- a/src/c/libstl/stla_read.h +++ b/src/c/libstl/stla_read.h @@ -10,10 +10,9 @@ typedef struct foug_stla_geom_input foug_stla_geom_input_t; struct foug_stla_geom_input { 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 (*end_solid_func) (foug_stla_geom_input_t*, const char*); - /* void (*parse_error_func)(foug_stla_geom_input_t*, size_t, size_t); */ + void (*end_solid_func) (foug_stla_geom_input_t*, const char*); /* Optional */ }; /* foug_stla_read() */