iOS/buildlibs/armv7/allegro-4.4.2/addons/jpgalleg/src/init.c
/* jpgalleg_init:
 *  Initializes JPGalleg by registering the file format with the Allegro image
 *  handling and datafile subsystems.
 */
Initializes JPGalleg by registering the file format with the Allegro image
handling and datafile subsystems.
Initializes JPGalleg by registering the file format with the Allegro image handling and datafile subsystems .
int
jpgalleg_init(void)
{
	register_datafile_object(DAT_JPEG, load_datafile_jpg, destroy_datafile_jpg);
	register_bitmap_file_type("jpg", load_jpg, save_jpg);
	jpgalleg_error = JPG_ERROR_NONE;
	return 0;
}
int jpgalleg_init ( void ) { register_datafile_object ( DAT_JPEG , load_datafile_jpg , destroy_datafile_jpg ) ; register_bitmap_file_type ( " " , load_jpg , save_jpg ) ; jpgalleg_error = JPG_ERROR_NONE ; return 0 ; }
jpgalleg_init:
  Initializes JPGalleg by registering the file format with the Allegro image
  handling and datafile subsystems.
jpgalleg_init : Initializes JPGalleg by registering the file format with the Allegro image handling and datafile subsystems .