diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2013-10-17 17:24:51 +0200 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-26 10:52:01 +0200 |
commit | 7dd44046c9199e594fa0515b0c18cf3846a34244 (patch) | |
tree | 40cfd7fe9461ed10726a1ca8d974698c63543bfa /src/ansi.h | |
parent | a9977e1f2e8ff9829d4de4f08d46852606713750 (diff) | |
download | screen-7dd44046c9199e594fa0515b0c18cf3846a34244.tar.gz |
use Window type instead of struct win
Diffstat (limited to 'src/ansi.h')
-rw-r--r-- | src/ansi.h | 32 |
1 files changed, 17 insertions, 15 deletions
@@ -147,20 +147,22 @@ enum move_t { ((ml)->font[x] & 0xe0) == 0x80 \ ) -struct win; - -void ResetAnsiState (struct win *); -void ResetWindow (struct win *); -void ResetCharsets (struct win *); -void WriteString (struct win *, char *, int); -void ChangeAKA (struct win *, char *, size_t); -void SetCharsets (struct win *, char *); -int GetAnsiStatus (struct win *, char *); -void WNewAutoFlow (struct win *, int); -void WBell (struct win *, int); -void WMsg (struct win *, int, char *); -void WChangeSize (struct win *, int, int); -void WindowChanged (struct win *, int); -int MFindUsedLine (struct win *, int, int); +/* forward declarations */ +struct _Window; +typedef struct _Window Window; + +void ResetAnsiState (Window *); +void ResetWindow (Window *); +void ResetCharsets (Window *); +void WriteString (Window *, char *, int); +void ChangeAKA (Window *, char *, size_t); +void SetCharsets (Window *, char *); +int GetAnsiStatus (Window *, char *); +void WNewAutoFlow (Window *, int); +void WBell (Window *, int); +void WMsg (Window *, int, char *); +void WChangeSize (Window *, int, int); +void WindowChanged (Window *, int); +int MFindUsedLine (Window *, int, int); #endif /* SCREEN_ANSI_H */ |