Changeset 86297 in vbox for trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/public/xptcall.h
- Timestamp:
- Sep 25, 2020 9:07:10 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 140574
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/public/xptcall.h
r51167 r86297 142 142 VAL_IS_CSTR = 0x40 // val.p holds a pointer to cstring needing cleanup 143 143 }; 144 145 /* VBox: Added to prevent -Wclass-memaccess warnings (nsXPTType has a constructor) in python/src/VariantUtils.cpp */ 146 nsXPTCVariant() : ptr(NULL), flags(0) 147 { 148 val.p = NULL; 149 type.flags = 0; /* stupid nsXPTType constructor only do random bytes (documented) */ 150 } 144 151 145 152 void ClearFlags() {flags = 0;}
Note:
See TracChangeset
for help on using the changeset viewer.