Fix indentation issues
This commit is contained in:
parent
28b3b2aded
commit
8b5b6d5247
@ -10,10 +10,10 @@ typedef struct foug_stla_geom_output foug_stla_geom_output_t;
|
|||||||
struct foug_stla_geom_output
|
struct foug_stla_geom_output
|
||||||
{
|
{
|
||||||
void* cookie;
|
void* cookie;
|
||||||
size_t (*get_solid_count_func)(foug_stla_geom_output_t*);
|
size_t (*get_solid_count_func) (foug_stla_geom_output_t*);
|
||||||
void (*get_solid_name)(foug_stla_geom_output_t*, size_t, char*);
|
void (*get_solid_name) (foug_stla_geom_output_t*, size_t, char*);
|
||||||
size_t (*get_triangle_count_func)(foug_stla_geom_output_t*, size_t);
|
size_t (*get_triangle_count_func)(foug_stla_geom_output_t*, size_t);
|
||||||
void (*get_triangle_func)(foug_stla_geom_output_t*, size_t, size_t, foug_stl_triangle_t*);
|
void (*get_triangle_func) (foug_stla_geom_output_t*, size_t, size_t, foug_stl_triangle_t*);
|
||||||
};
|
};
|
||||||
|
|
||||||
/* foug_stla_write() */
|
/* foug_stla_write() */
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
typedef void* (*foug_malloc_func_t)(size_t);
|
typedef void* (*foug_malloc_func_t)(size_t);
|
||||||
typedef void (*foug_free_func_t)(void*);
|
typedef void (*foug_free_func_t)(void*);
|
||||||
|
|
||||||
#endif /* FOUG_C_MEMORY_H */
|
#endif /* FOUG_C_MEMORY_H */
|
||||||
|
@ -11,11 +11,13 @@ struct foug_stream
|
|||||||
{
|
{
|
||||||
void* cookie;
|
void* cookie;
|
||||||
foug_bool_t (*at_end_func)(foug_stream_t*);
|
foug_bool_t (*at_end_func)(foug_stream_t*);
|
||||||
int32_t (*error_func)(foug_stream_t*);
|
int32_t (*error_func)(foug_stream_t*);
|
||||||
size_t (*read_func)(foug_stream_t*, void*, size_t, size_t);
|
size_t (*read_func)(foug_stream_t*, void*, size_t, size_t);
|
||||||
size_t (*write_func)(foug_stream_t*, const void*, size_t, size_t);
|
size_t (*write_func)(foug_stream_t*, const void*, size_t, size_t);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Initialization */
|
||||||
|
|
||||||
FOUG_LIB_EXPORT void foug_stream_set_null(foug_stream_t* stream);
|
FOUG_LIB_EXPORT void foug_stream_set_null(foug_stream_t* stream);
|
||||||
FOUG_LIB_EXPORT void foug_stream_set_stdio(foug_stream_t* stream, FILE* file);
|
FOUG_LIB_EXPORT void foug_stream_set_stdio(foug_stream_t* stream, FILE* file);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user