Changeset 2982 for trunk/include/os2wrap.h
- Timestamp:
- Mar 3, 2000, 12:14:24 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/os2wrap.h
r2080 r2982 1 /* $Id: os2wrap.h,v 1.1 3 1999-12-15 09:25:12 achimhaExp $ */1 /* $Id: os2wrap.h,v 1.14 2000-03-03 11:14:22 sandervl Exp $ */ 2 2 #ifndef __OS2WRAP_H__ 3 3 #define __OS2WRAP_H__ … … 8 8 9 9 #if (__IBMC__ > 300) 10 // VA3.6: inline is a C++ keywor k, must be translated to _inline or _Inline or __inline in C code10 // VA3.6: inline is a C++ keyword, must be translated to _inline or _Inline or __inline in C code 11 11 #define inline _inline 12 12 #endif 13 13 14 14 #ifdef INCL_DOSMEMMGR 15 16 APIRET APIENTRY DosAliasMem(PVOID pb, ULONG cb, PPVOID ppbAlias, ULONG fl); 17 18 inline APIRET _DosAliasMem(PVOID pb, ULONG cb, PPVOID ppbAlias, ULONG fl) 19 { 20 APIRET yyrc; 21 USHORT sel = RestoreOS2FS(); 22 23 yyrc = DosAliasMem(pb, cb, ppbAlias, fl); 24 SetFS(sel); 25 26 return yyrc; 27 } 28 29 #undef DosAliasMem 30 #define DosAliasMem _DosAliasMem 31 15 32 inline ULONG _DosAllocMem(PPVOID a, ULONG b, ULONG c) 16 33 {
Note:
See TracChangeset
for help on using the changeset viewer.