register_datafile_object - Man Page

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

Referenced By

DAT_ID(3), load_datafile(3), load_datafile_callback(3), load_datafile_object(3).

version 4.4.3 Allegro manual