load_datafile_object_indexed man page

load_datafile_object_indexed — Loads a single object from a datafile index. Allegro game programming library.


#include <allegro.h>

DATAFILE *load_datafile_object_indexed(const DATAFILE_INDEX *index, int item)


This loads a single object, using the index created previously with create_datafile_index. See create_datafile_index for an example.

Return Value

Returns a pointer to a single DATAFILE element whose "dat" member points to the object, or NULL if the object could not be loaded.

See Also

create_datafile_index(3), load_datafile_object(3), unload_datafile_object(3)

Referenced By


version 4.4.2 Allegro Allegro manual