GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GET_DATAFILE_PROPERTY (3)

NAME

get_datafile_property - Returns the property string for the object. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

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!");

RETURN VALUE

Returns a pointer to the text string for the object, or a pointer to the variable empty_string if the property isn’t present.

SEE ALSO

DAT_ID(3), empty_string(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro GET_DATAFILE_PROPERTY (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.