Changeset 11009 in vbox for trunk/include
- Timestamp:
- Jul 30, 2008 6:52:37 PM (17 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/autores.h
r11008 r11009 51 51 */ 52 52 template <class T> 53 inline TRTAutoResNil(void)53 DECLINLINE(T) RTAutoResNil(void) 54 54 { 55 55 AssertFatalMsgFailed(("Unspecialized template!\n")); … … 64 64 */ 65 65 template <class T> 66 inline voidRTAutoResDestruct(T aHandle)66 DECLINLINE(void) RTAutoResDestruct(T aHandle) 67 67 { 68 68 AssertFatalMsgFailed(("Unspecialized template!\n")); -
trunk/include/iprt/mem.h
r11008 r11009 382 382 */ 383 383 template <class T> 384 voidRTMemAutoFree(T *aMem)384 DECLINLINE(void) RTMemAutoFree(T *aMem) 385 385 { 386 386 RTMemFree(aMem); … … 396 396 */ 397 397 template <class T> 398 T *RTMemAutoNil(void)398 DECLINLINE(T *) RTMemAutoNil(void) 399 399 { 400 400 return (T *)(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.