brender-1997/ati/Object.h

43 lines
703 B
C
Raw Normal View History

2022-05-03 16:30:35 -05:00
/*
* Copyright (c) 1993-1995 Argonaut Technologies Limited. All rights reserved.
*
* $Id: OBJECT.H 1.1 1996/05/13 14:28:41 philip Exp $
* $Locker: $
*
* Private object structure
*/
#ifndef _OBJECT_H_
#define _OBJECT_H_
#ifdef __cplusplus
extern "C" {
#endif
/*
* Private state of device pixelmap
*/
typedef struct br_object {
/*
* Dispatch table
*/
struct br_object_dispatch *dispatch;
/*
* Standard object identifier
*/
char *identifier;
} br_object;
/*
* Override general case with special case for this driver
*/
#define ObjectATIDevice(d) ((br_device *)&DriverDeviceATI)
#define ObjectATIIdentifier(d) (((br_object *)d)->identifier)
#ifdef __cplusplus
};
#endif
#endif