Changeset 90823 in vbox
- Timestamp:
- Aug 23, 2021 10:08:38 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r90792 r90823 4303 4303 4304 4304 4305 /** @def VALID_PTR4305 /** @def RT_VALID_PTR 4306 4306 * Pointer validation macro. 4307 4307 * @param ptr The pointer. … … 4384 4384 #endif 4385 4385 4386 /** Old name for RT_VALID_PTR. */4387 #define VALID_PTR(ptr) RT_VALID_PTR(ptr)4388 4389 4386 /** @def RT_VALID_ALIGNED_PTR 4390 4387 * Pointer validation macro that also checks the alignment. -
trunk/src/VBox/Additions/linux/drm/indent.sed
r90794 r90823 112 112 s/\bUINT32_MAX\b/U32_MAX/g 113 113 s/\bUINT32_C\b(\(.*\))/\1u/g 114 s/!VALID_PTR(/WARN_ON(!/g115 114 s/!RT_VALID_PTR(/WARN_ON(!/g 116 115 s/\bRT_UNTRUSTED_VOLATILE_HOST\b//g -
trunk/src/VBox/Additions/x11/vboxvideo/VBoxVideoIPRT.h
r90794 r90823 132 132 #define RT_ZERO(Obj) RT_BZERO(&(Obj), sizeof(Obj)) 133 133 #define RT_VALID_PTR(ptr) ( (uintptr_t)(ptr) + 0x1000U >= 0x2000U ) 134 #define VALID_PTR(ptr) RT_VALID_PTR(ptr)135 134 #ifndef INT16_C 136 135 # define INT16_C(Value) (Value)
Note:
See TracChangeset
for help on using the changeset viewer.