X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcrt.h;h=933dc7bfac04a419b05ff7bd633edb51d8b30640;hb=cd3c335082e66f9a790a5bbb0f24a7ec49c9d3d5;hp=da5922c4e10d6f7d261099c4d12fdbacef7e9fe7;hpb=c1ef27cf4cdfca6e978a7ee8eb3ec6fd6e6e9e03;p=sympathy.git diff --git a/src/crt.h b/src/crt.h index da5922c..933dc7b 100644 --- a/src/crt.h +++ b/src/crt.h @@ -12,6 +12,15 @@ /* * $Log$ + * Revision 1.9 2008/02/20 19:25:09 james + * *** empty log message *** + * + * Revision 1.8 2008/02/13 09:12:21 james + * *** empty log message *** + * + * Revision 1.7 2008/02/13 01:08:18 james + * *** empty log message *** + * * Revision 1.6 2008/02/07 13:22:51 james * *** empty log message *** * @@ -96,7 +105,7 @@ typedef struct int dir; } CRT_ScrollHint; -typedef struct +typedef struct CRT_struct { CRT_CA screen[CRT_CELS]; CRT_Pos pos; @@ -111,4 +120,10 @@ crt_ca_cmp (CRT_CA a, CRT_CA b) return memcmp (&a, &b, sizeof (a)); } +static inline +crt_pos_cmp (CRT_Pos a, CRT_Pos b) +{ + return memcmp (&a, &b, sizeof (a)); +} + #endif /* __CRT_H__ */