libtthimage/Lib/foo.c

20 lines
361 B
C
Raw Normal View History

2022-06-26 02:23:53 +02:00
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdint.h>
2022-06-26 22:55:56 +02:00
#include "../tthimage.h"
2022-06-26 02:23:53 +02:00
int main(int argc, char *argv[])
{
Image_print_version(2);
2022-06-26 22:55:56 +02:00
Image_print_sizeof_structs("foo");
2022-09-15 20:14:59 +02:00
if (2==argc)
Image_t16x24_essai("16x24thin", argv[1], "16x24.tga");
else
Image_t16x24_essai("16x24thin", "0123456789abcdef", "16x24.tga");
2022-06-26 02:23:53 +02:00
return 0;
}