Changeset 31718 in vbox for trunk/include/VBox/com
- Timestamp:
- Aug 17, 2010 10:18:05 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64870
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/array.h
r30681 r31718 1010 1010 1011 1011 inline void initFrom(const com::SafeArray<T> & aRef); 1012 inline void initFrom(const T* aPtr, size_t aSize); 1012 1013 1013 1014 // Public methods for internal purposes only. … … 1218 1219 ::memcpy(raw(), aRef.raw(), sSize); 1219 1220 } 1221 template<> 1222 inline void com::SafeArray<BYTE>::initFrom(const BYTE* aPtr, size_t aSize) 1223 { 1224 resize(aSize); 1225 ::memcpy(raw(), aPtr, aSize); 1226 } 1227 1220 1228 1221 1229 ////////////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.