load_datafile_object_indexed(3alleg)

load_datafile_object_indexed3alleg

Loads a single object from a datafile index. allegro game programming library.

Usage

#include <allegro.h>

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

Overview

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.

Releases

Unchanged in 2 releases since Debian 5.0 (Lenny).

  1. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.