X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fcommon%2Ffilepos.h;h=7ccde3751c726073fc4afbb4bedf58fc925dbc21;hb=6c3720686bbf8fd527ea69838fa797ae46b33f18;hp=8378fd4b84f626f12e90d3d3584dcbeb0ef0d07b;hpb=53dd513176425872128ef26031d00952ef7a0628;p=cc65 diff --git a/src/common/filepos.h b/src/common/filepos.h index 8378fd4b8..7ccde3751 100644 --- a/src/common/filepos.h +++ b/src/common/filepos.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 1998-2000 Ullrich von Bassewitz */ +/* Wacholderweg 14 */ +/* D-70597 Stuttgart */ +/* EMail: uz@musoftware.de */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -44,19 +44,27 @@ -/* Size of position in file */ -#define POS_SIZE 5 - /* Type of a file position */ -typedef struct FilePos_ FilePos; -struct FilePos_ { +typedef struct FilePos FilePos; +struct FilePos { unsigned long Line; /* Line */ - unsigned char Col; /* Column */ - unsigned char Name; /* File */ + unsigned Col; /* Column */ + unsigned Name; /* File */ }; +/*****************************************************************************/ +/* Code */ +/*****************************************************************************/ + + + +void InitFilePos (FilePos* P); +/* Initialize the file position (set all fields to zero) */ + + + /* End of filepos.h */ #endif