| 
            Last change
 on this file since 47064914 was             1665ee5, checked in by Michael Brooks <mlbrooks@…>, 14 months ago           | 
        
        
          | 
             
Add uArray delayed-initialization equivalent to CFA array 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            606 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | //
 | 
|---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2023 University of Waterloo
 | 
|---|
| 3 | //
 | 
|---|
| 4 | // The contents of this file are covered under the licence agreement in the
 | 
|---|
| 5 | // file "LICENCE" distributed with Cforall.
 | 
|---|
| 6 | //
 | 
|---|
| 7 | // array-raii-c.cfa -- checks RAII on C arrays of initialized elements
 | 
|---|
| 8 | //
 | 
|---|
| 9 | // Author           : Mike Brooks
 | 
|---|
| 10 | // Created On       : Fri Sep 22 15:00:00 2023
 | 
|---|
| 11 | // Last Modified By :
 | 
|---|
| 12 | // Last Modified On :
 | 
|---|
| 13 | // Update Count     :
 | 
|---|
| 14 | //
 | 
|---|
| 15 | 
 | 
|---|
| 16 | // C array means like `float x[17];`, as used within CFA
 | 
|---|
| 17 | 
 | 
|---|
| 18 | #define ADECL1(X, El, N)    El X[N];
 | 
|---|
| 19 | #define ADECL2(X, El, M, N) El X[M][N];
 | 
|---|
| 20 | 
 | 
|---|
| 21 | #include "array-raii.hfa"
 | 
|---|
| 22 | 
 | 
|---|
| 23 | void test_extras() {}
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.