.\" Generated by the Allegro makedoc utility .TH register_datafile_object 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME register_datafile_object \- Registers load/destroy functions for custom object types. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void register_datafile_object(int id, void *(*load)(PACKFILE *f, long size), .B void (*destroy)(void *data)); .SH DESCRIPTION Used to add custom object types, specifying functions to load and destroy objects of this type. .SH SEE ALSO .BR load_datafile (3alleg4), .BR load_datafile_object (3alleg4), .BR DAT_ID (3alleg4)