VirtualBox

Changeset 71599 in vbox for trunk/include/VBox/Graphics


Ignore:
Timestamp:
Apr 1, 2018 12:52:12 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121604
Message:

Fixing 'indenting' of the AssertPtrReturn and RT_UNTRUSTED_VOLATILE_xxxx macros for the drm linux kmod.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/Graphics/VBoxVideoErr.h

    r69307 r71599  
    6666#define assert_compile_size(type, size) \
    6767    assert_compile(sizeof(type) == (size))
     68#define assert_ptr_return(ptr,ret) \
     69    do { if (unlikely(!(ptr))) { WARN_ON_ONCE(!(ptr)); return ret; } } while (0)
    6870
    6971/** @}  */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette