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

moved new and delete to stdlib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/tupleVariadic.c

    rf831177 r627f585  
    2929}
    3030
    31 forall(otype T) T * malloc();
    32 
    33 forall(otype T, ttype Params | sized(T) | { void ?{}(T *, Params); })
    34 T * new(Params p) {
    35         return ((T*)malloc()){ p };
    36 }
     31forall(otype T, ttype Params | { void ?{}(T *, Params); })
     32T * new(Params p);
    3733
    3834struct array {
Note: See TracChangeset for help on using the changeset viewer.