Changeset a65cd5e
- Timestamp:
- Dec 18, 2024, 10:26:14 PM (5 weeks ago)
- Branches:
- master
- Children:
- 956ad355
- Parents:
- e0f3bd2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/stdlib.hfa
re0f3bd2 ra65cd5e 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Dec 18 15:03:37202413 // Update Count : 96 412 // Last Modified On : Wed Dec 18 22:25:25 2024 13 // Update Count : 965 14 14 // 15 15 … … 241 241 forall( List ... | { T * alloc_internal$( size_t Dim, T_resize Resize, T_realloc Realloc, size_t Align, T_fill(T) Fill, List ); } ) { 242 242 // middle interface 243 T * alloc_internal$( size_t Dim, T_resize , T_realloc, size_t Align, T_fill(T) Fill, T_resize Resize, List rest ) {243 T * alloc_internal$( size_t Dim, T_resize /*dummy*/, T_realloc /*Realloc*/, size_t Align, T_fill(T) Fill, T_resize Resize, List rest ) { 244 244 return alloc_internal$( Dim, Resize, (T_realloc){0p}, Align, Fill, rest ); 245 245 } 246 T * alloc_internal$( size_t Dim, T_resize , T_realloc, size_t Align, T_fill(T) Fill, T_realloc Realloc, List rest ) {246 T * alloc_internal$( size_t Dim, T_resize /*Resize*/, T_realloc /*dummy*/, size_t Align, T_fill(T) Fill, T_realloc Realloc, List rest ) { 247 247 return alloc_internal$( Dim, (T_resize){0p}, Realloc, Align, Fill, rest ); 248 248 } 249 T * alloc_internal$( size_t Dim, T_resize Resize, T_realloc Realloc, size_t , T_fill(T) Fill, T_align Align, List rest ) {249 T * alloc_internal$( size_t Dim, T_resize Resize, T_realloc Realloc, size_t /*dummy*/, T_fill(T) Fill, T_align Align, List rest ) { 250 250 return alloc_internal$( Dim, Resize, Realloc, Align.align, Fill, rest ); 251 251 } 252 T * alloc_internal$( size_t Dim, T_resize Resize, T_realloc Realloc, size_t Align, T_fill(T) , T_fill(T) Fill, List rest ) {252 T * alloc_internal$( size_t Dim, T_resize Resize, T_realloc Realloc, size_t Align, T_fill(T) /*dummy*/, T_fill(T) Fill, List rest ) { 253 253 return alloc_internal$( Dim, Resize, Realloc, Align, Fill, rest ); 254 254 }
Note: See TracChangeset
for help on using the changeset viewer.