did some code reuse, added write support in img, used it in decode and

debug
This commit is contained in:
Ahmet İnan 2011-10-03 18:28:43 +02:00
parent d947867831
commit d2e809f823
7 changed files with 77 additions and 62 deletions

2
ppm.h
View file

@ -10,5 +10,5 @@ You should have received a copy of the CC0 Public Domain Dedication along with t
#define PPM_H
#include "img.h"
int open_ppm_read(img_t **, char *);
//int open_ppm_write(img_t **, char *, int, int);
int open_ppm_write(img_t **, char *, int, int);
#endif