Changeset 627f585 for src/libcfa/stdlib


Ignore:
Timestamp:
Jan 10, 2017, 2:32:33 PM (5 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
dd0c97b
Parents:
f831177
Message:

moved new and delete to stdlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/stdlib

    rf831177 r627f585  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // stdlib -- 
     7// stdlib --
    88//
    99// Author           : Peter A. Buhr
     
    4444void free( void * ptr );
    4545} // extern "C"
     46
     47forall( otype T, ttype Params | { void ?{}(T *, Params); } ) T * new( Params p );
     48forall( dtype T | { void ^?{}(T *); } ) void delete( T * ptr );
     49
    4650
    4751//---------------------------------------
Note: See TracChangeset for help on using the changeset viewer.