Home | History | Annotate | Download | only in libpng16

Lines Matching full:png_alignof

528 #  define png_alignof(type) (sizeof (type))
531 # define png_alignof(type) offsetof(struct{char c; type t;}, t)
534 # define png_alignof(type) (1)
536 /* Else leave png_alignof undefined to prevent use thereof */
541 #ifdef png_alignof
543 ((((const char*)ptr-(const char*)0) & (png_alignof(type)-1)) == 0)