Changes in src/libcfa/stdlib [17e5e2b:627f585]
- File:
-
- 1 edited
-
src/libcfa/stdlib (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/stdlib
r17e5e2b r627f585 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // stdlib -- 7 // stdlib -- 8 8 // 9 9 // Author : Peter A. Buhr … … 13 13 // Update Count : 99 14 14 // 15 16 #ifdef __CFORALL__17 18 #ifndef STDLIB_H19 #define STDLIB_H20 15 21 16 //--------------------------------------- … … 49 44 void free( void * ptr ); 50 45 } // extern "C" 46 47 forall( otype T, ttype Params | { void ?{}(T *, Params); } ) T * new( Params p ); 48 forall( dtype T | { void ^?{}(T *); } ) void delete( T * ptr ); 49 51 50 52 51 //--------------------------------------- … … 132 131 void swap( T * t1, T * t2 ); 133 132 134 #endif // STDLIB_H135 136 #else137 #include_next <stdlib>138 #endif //__CFORALL__139 140 133 // Local Variables: // 141 134 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.