Mercurial > dwindows
comparison dw.h @ 236:5592cdeb29cf
Make sure all platforms have the same typedefs.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 14 Feb 2003 07:57:30 +0000 |
parents | e6571c4e4d3b |
children | 13d3de3f1e83 |
comparison
equal
deleted
inserted
replaced
235:69f2a59ec7d0 | 236:5592cdeb29cf |
---|---|
153 HWND handle; | 153 HWND handle; |
154 } *HPIXMAP; | 154 } *HPIXMAP; |
155 | 155 |
156 typedef HWND HMENUI; | 156 typedef HWND HMENUI; |
157 typedef HMODULE HMOD; | 157 typedef HMODULE HMOD; |
158 typedef unsigned short UWORD; | |
158 | 159 |
159 #define DW_NOMENU NULLHANDLE | 160 #define DW_NOMENU NULLHANDLE |
160 | 161 |
161 extern HAB dwhab; | 162 extern HAB dwhab; |
162 extern HMQ dwhmq; | 163 extern HMQ dwhmq; |
457 | 458 |
458 typedef GtkWidget *HWND; | 459 typedef GtkWidget *HWND; |
459 #ifndef _ENVRNMNT_H | 460 #ifndef _ENVRNMNT_H |
460 typedef unsigned long ULONG; | 461 typedef unsigned long ULONG; |
461 #endif | 462 #endif |
462 typedef unsigned char UCHAR; | |
463 typedef long LONG; | 463 typedef long LONG; |
464 typedef unsigned short USHORT; | 464 typedef unsigned short USHORT; |
465 typedef short SHORT; | 465 typedef short SHORT; |
466 typedef unsigned short UWORD; | |
467 typedef short WORD ; | |
468 typedef unsigned char UCHAR; | |
469 typedef char CHAR; | |
470 typedef unsigned UINT; | |
471 typedef int INT; | |
466 typedef pthread_mutex_t HMTX; | 472 typedef pthread_mutex_t HMTX; |
467 typedef struct _dw_unix_event { | 473 typedef struct _dw_unix_event { |
468 pthread_mutex_t mutex; | 474 pthread_mutex_t mutex; |
469 pthread_cond_t event; | 475 pthread_cond_t event; |
470 pthread_t thread; | 476 pthread_t thread; |