VirtualBox

Changeset 90823 in vbox


Ignore:
Timestamp:
Aug 23, 2021 10:08:38 PM (3 years ago)
Author:
vboxsync
Message:

iprt/cdefs.h,++: Retired VALID_PTR (use RT_VALID_PTR now).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cdefs.h

    r90792 r90823  
    43034303
    43044304
    4305 /** @def VALID_PTR
     4305/** @def RT_VALID_PTR
    43064306 * Pointer validation macro.
    43074307 * @param   ptr         The pointer.
     
    43844384#endif
    43854385
    4386 /** Old name for RT_VALID_PTR.  */
    4387 #define VALID_PTR(ptr)          RT_VALID_PTR(ptr)
    4388 
    43894386/** @def RT_VALID_ALIGNED_PTR
    43904387 * Pointer validation macro that also checks the alignment.
  • trunk/src/VBox/Additions/linux/drm/indent.sed

    r90794 r90823  
    112112s/\bUINT32_MAX\b/U32_MAX/g
    113113s/\bUINT32_C\b(\(.*\))/\1u/g
    114 s/!VALID_PTR(/WARN_ON(!/g
    115114s/!RT_VALID_PTR(/WARN_ON(!/g
    116115s/\bRT_UNTRUSTED_VOLATILE_HOST\b//g
  • trunk/src/VBox/Additions/x11/vboxvideo/VBoxVideoIPRT.h

    r90794 r90823  
    132132#define RT_ZERO(Obj)        RT_BZERO(&(Obj), sizeof(Obj))
    133133#define RT_VALID_PTR(ptr)  (   (uintptr_t)(ptr) + 0x1000U >= 0x2000U )
    134 #define VALID_PTR(ptr)     RT_VALID_PTR(ptr)
    135134#ifndef INT16_C
    136135# define INT16_C(Value) (Value)
Note: See TracChangeset for help on using the changeset viewer.

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