forked from tTh/FloatImg
bla
This commit is contained in:
parent
9b18958ee8
commit
c3f5419745
@ -2,7 +2,7 @@
|
||||
* floatimg.h
|
||||
*/
|
||||
|
||||
#define FIMG_VERSION 72
|
||||
#define FIMG_VERSION 73
|
||||
|
||||
/*
|
||||
* in memory descriptor
|
||||
|
@ -14,10 +14,13 @@ int fimg_pnm_infos(char *);
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int foo;
|
||||
char *infile = "foo.pnm";
|
||||
|
||||
pnm_init(&argc, argv);
|
||||
|
||||
foo = fimg_pnm_infos("foo.pnm");
|
||||
if (2 == argc) infile = argv[1];
|
||||
|
||||
foo = fimg_pnm_infos(infile);
|
||||
fprintf(stderr, "got %d\n", foo);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user