#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
{
switch (format) {
}
return NULL;
}
{
printf("Format: %s\n"
"Size: %uKo\n"
"Facets: %u\n",
gmio_stl_format_to_str(infos->
format),
}
int main(int argc, char** argv)
{
int error = 0;
if (argc > 1) {
const char* filepath = argv[1];
FILE* file = fopen(filepath, "rb");
if (file != NULL) {
printf("File: %s\n", filepath);
print_stl_infos(&infos);
else
fprintf(stderr, "gmio error: 0x%X\n", error);
fclose(file);
}
}
return error;
}