register_datafile_object(3alleg4) linux man page | unix.com

Man Page: register_datafile_object

Operating Environment: linux

Section: 3alleg4

register_datafile_object(3alleg4)				  Allegro manual				 register_datafile_object(3alleg4)

NAME
register_datafile_object - Registers load/destroy functions for custom object types. Allegro game programming library. SYNOPSIS
#include <allegro.h> void register_datafile_object(int id, void *(*load)(PACKFILE *f, long size), void (*destroy)(void *data)); DESCRIPTION
Used to add custom object types, specifying functions to load and destroy objects of this type. SEE ALSO
load_datafile(3alleg4), load_datafile_object(3alleg4), DAT_ID(3alleg4) Allegro version 4.4.2 register_datafile_object(3alleg4)
Related Man Pages
exrotscl(3alleg4) - debian
load_datafile(3alleg4) - netbsd
load_datafile(3alleg4) - php
load_datafile(3alleg4) - plan9
load_datafile(3alleg4) - redhat
Similar Topics in the Unix Linux Community
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Answers to Recently Asked Questions about UNIX.COM
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!