Changeset 60852 in webkit for trunk/JavaScriptCore/wtf/OwnPtrCommon.h
- Timestamp:
- Jun 8, 2010, 10:37:44 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/OwnPtrCommon.h
r60830 r60852 29 29 #define WTF_OwnPtrCommon_h 30 30 31 #if PLATFORM(WIN) 32 typedef struct HBITMAP__* HBITMAP; 33 typedef struct HBRUSH__* HBRUSH; 34 typedef struct HDC__* HDC; 35 typedef struct HFONT__* HFONT; 36 typedef struct HPALETTE__* HPALETTE; 37 typedef struct HPEN__* HPEN; 38 typedef struct HRGN__* HRGN; 39 #endif 40 41 #if PLATFORM(BREWMP) 42 // Forward delcarations at this point avoid the need to include BREW includes 43 // in WTF headers. 44 typedef struct _ISocket ISocket; 45 typedef struct _IFileMgr IFileMgr; 46 typedef struct _IFile IFile; 47 typedef struct IBitmap IBitmap; 48 typedef struct ISSL ISSL; 49 #endif 50 31 51 namespace WTF { 32 52 … … 38 58 } 39 59 60 #if PLATFORM(WIN) 61 void deleteOwnedPtr(HBITMAP); 62 void deleteOwnedPtr(HBRUSH); 63 void deleteOwnedPtr(HDC); 64 void deleteOwnedPtr(HFONT); 65 void deleteOwnedPtr(HPALETTE); 66 void deleteOwnedPtr(HPEN); 67 void deleteOwnedPtr(HRGN); 68 #endif 69 70 #if PLATFORM(BREWMP) 71 void deleteOwnedPtr(IFileMgr*); 72 void deleteOwnedPtr(IFile*); 73 void deleteOwnedPtr(IBitmap*); 74 void deleteOwnedPtr(ISSL*); 75 void deleteOwnedPtr(ISocket*); 76 #endif 77 40 78 } // namespace WTF 41 79 42 #if PLATFORM(BREWMP)43 #include <wtf/brew/OwnPtrBrew.h>44 #elif PLATFORM(WIN)45 #include <wtf/win/OwnPtrWin.h>46 #endif47 48 80 #endif // WTF_OwnPtrCommon_h
Note:
See TracChangeset
for help on using the changeset viewer.