Changeset b9c04946 for src/tests/alloc.c


Ignore:
Timestamp:
Jul 27, 2018, 7:24:09 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
0300979
Parents:
f0b3f51
Message:

rename array memset/memcpy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/alloc.c

    rf0b3f51 rb9c04946  
    1010// Created On       : Wed Feb  3 07:56:22 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jul 25 09:09:43 2018
    13 // Update Count     : 331
     12// Last Modified On : Thu Jul 26 20:58:05 2018
     13// Update Count     : 334
    1414//
    1515
     
    219219        printf( "\n" );
    220220
    221         memset( sta, dim, fill );                           // CFA array memset, type safe
     221        amemset( sta, fill, dim );                                                      // CFA array memset, type safe
    222222        printf( "CFA array memset\n" );
    223223        for ( int i = 0; i < dim; i += 1 ) { printf( "%#x %a, ", sta[i].x, sta[i].y ); }
    224224        printf( "\n" );
    225225
    226         memcpy( sta1, sta, dim );                           // CFA array memcpy, type safe
    227         printf( "CFA memcpy\n" );
     226        amemcpy( sta1, sta, dim );                                                      // CFA array memcpy, type safe
     227        printf( "CFA array memcpy\n" );
    228228        for ( int i = 0; i < dim; i += 1 ) { printf( "%#x %a, ", sta1[i].x, sta1[i].y ); }
    229229        printf( "\n" );
Note: See TracChangeset for help on using the changeset viewer.