Changeset 27 for trunk/include/win/heap.h
- Timestamp:
- Jun 1, 1999, 9:48:18 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/heap.h
r4 r27 1 /* $Id: heap.h,v 1. 1 1999-05-24 20:19:12 ktkExp $ */1 /* $Id: heap.h,v 1.2 1999-06-01 19:48:18 phaller Exp $ */ 2 2 3 3 /* … … 34 34 #define SEGPTR_STRDUP_WtoA(str) \ 35 35 (HIWORD(str) ? HEAP_strdupWtoA( SegptrHeap, 0, (str) ) : (LPSTR)(str)) 36 /* define an inline function, a macro won't do */ 37 static __inline__ SEGPTR WINE_UNUSED SEGPTR_Get(LPCVOID ptr) { 38 return (HIWORD(ptr) ? HEAP_GetSegptr( SegptrHeap, 0, ptr ) : (SEGPTR)ptr); 36 37 /* define an inline function, a macro won't do */ 38 static SEGPTR SEGPTR_Get(LPCVOID ptr) 39 { 40 return (HIWORD(ptr) ? HEAP_GetSegptr( SegptrHeap, 0, ptr ) : (SEGPTR)ptr); 39 41 } 42 40 43 #define SEGPTR_GET(ptr) SEGPTR_Get(ptr) 41 44 #define SEGPTR_FREE(ptr) \
Note:
See TracChangeset
for help on using the changeset viewer.