mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-13 15:05:05 +00:00
30 lines
635 B
C
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);
|