EMILE/second/glue.h
2004-05-25 19:30:23 +00:00

30 lines
635 B
C

/*
*
* (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
*
*/
#define noErr 0
struct MachineLocation
{
long latitude;
long longitude;
union
{
char dlsDelta;
long gmtDelta;
} u;
};
typedef struct MachineLocation MachineLocation;
extern void glue_display_properties(unsigned long *base,
unsigned long *row_bytes,
unsigned long *width, unsigned long *height,
unsigned long *depth, unsigned long *video);
extern int Gestalt(unsigned long selector, long * response);
extern void ReadLocation(MachineLocation * loc);
extern void* NewPtr(unsigned long byteCount);
extern void DisposePtr(void* ptr);