Ignore:
Timestamp:
Jun 5, 2020, 5:13:54 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
9246ec6
Parents:
fe9cf9e
Message:

Added a first draft of the memory management library module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/stdlib.hfa

    rfe9cf9e raabb846  
    99// Author           : Peter A. Buhr
    1010// Created On       : Thu Jan 28 17:12:35 2016
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jun  2 09:05:16 2020
    13 // Update Count     : 450
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Tue Jun  2 16:47:00 2020
     13// Update Count     : 451
    1414//
    1515
     
    229229// Cforall allocation/deallocation and constructor/destructor, non-array types
    230230forall( dtype T | sized(T), ttype Params | { void ?{}( T &, Params ); } ) T * new( Params p );
    231 forall( dtype T | sized(T) | { void ^?{}( T & ); } ) void delete( T * ptr );
    232 forall( dtype T, ttype Params | sized(T) | { void ^?{}( T & ); void delete( Params ); } ) void delete( T * ptr, Params rest );
     231forall( dtype T | { void ^?{}( T & ); } ) void delete( T * ptr );
     232forall( dtype T, ttype Params | { void ^?{}( T & ); void delete( Params ); } ) void delete( T * ptr, Params rest );
    233233
    234234// Cforall allocation/deallocation and constructor/destructor, array types
Note: See TracChangeset for help on using the changeset viewer.