Changeset 37530 in vbox for trunk/include/VBox/com
- Timestamp:
- Jun 17, 2011 12:03:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/list.h
r37068 r37530 196 196 }; 197 197 198 template <typename T> RTCList<T> SafeArrayToRTCList(ComSafeArrayIn(T, other)) 199 { 200 com::SafeArray<T> sfaOther(ComSafeArrayInArg(other)); 201 RTCList<T> list(sfaOther.size()); 202 for (size_t i = 0; i < sfaOther.size(); ++i) 203 list.append(sfaOther[i]); 204 return list; 205 } 206 198 207 #endif /* !___VBox_com_list_h */ 199 208
Note:
See TracChangeset
for help on using the changeset viewer.