Changeset 91384 in vbox
- Timestamp:
- Sep 27, 2021 10:13:56 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 147063
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/Wrapper.h
r91312 r91384 38 38 if (RT_LIKELY(RT_VALID_PTR(arg))) \ 39 39 { /* likely */ }\ 40 else \ 41 throw setError(E_POINTER, \ 42 /* Had to define VirtualBoxBase as context switcher for translation. \ 43 * Otherwise, lupdate complains about unknown context and doesn't \ 44 * include the string into translation file */ \ 45 VirtualBoxBase::tr("Output argument %s points to invalid memory location (%p)"), \ 46 #arg, (void *)(arg)); \ 40 /* Have use use VirtualBoxBase::tr here or lupdate won't be able to figure out the context, \ 41 as it is picking it up right here rather than in the places where the macro is actually used. */ \ 42 else throw setError(E_POINTER, VirtualBoxBase::tr("Output argument %s points to invalid memory location (%p)"), \ 43 #arg, (void *)(arg)); \ 47 44 } while (0) 48 45
Note:
See TracChangeset
for help on using the changeset viewer.