Changes in src/libcfa/stdlib [627f585:17e5e2b]
- File:
-
- 1 edited
-
src/libcfa/stdlib (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/stdlib
r627f585 r17e5e2b 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_H 19 #define STDLIB_H 15 20 16 21 //--------------------------------------- … … 44 49 void free( void * ptr ); 45 50 } // 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 50 51 51 52 //--------------------------------------- … … 131 132 void swap( T * t1, T * t2 ); 132 133 134 #endif // STDLIB_H 135 136 #else 137 #include_next <stdlib> 138 #endif //__CFORALL__ 139 133 140 // Local Variables: // 134 141 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.