Provided by: liballegro-doc_4.2.2-3_all bug

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(3alleg), load_datafile_object(3alleg), DAT_ID(3alleg)