get_datafile_property (3) Linux Manual Page
get_datafile_property – Returns the property string for the object. Allegro game programming library.
Synopsis
#include <allegro.h> const char *get_datafile_property(const DATAFILE *dat, int type);
Description
Finds the property type of a DATAFILE object. The type parameter must be a value created with the DAT_ID() macro. Example:
const char *name;
…
name = get_datafile_property(game_data,
DAT_ID(‘N’,’A’,’M’,’E’));
if (name == empty_string)
abort_on_error("Object doesn’t have a name!");
