Added Print_attr for jpeg
This commit is contained in:
@@ -31,3 +31,10 @@ print_attr(const PPM *src) {
|
||||
printf("Name: %s\nFMT: %c\nWidth: %i, Height: %i\nLength: %i",
|
||||
src->name, src->fmt, src->width, src->height, src->len);
|
||||
}
|
||||
|
||||
void
|
||||
__attribute__((overloadable))
|
||||
print_attr(const JPEG *src) {
|
||||
printf("Name: %s\nWidth: %i, Height: %i\nLength: %i",
|
||||
src->name, src->width, src->height, src->len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user