Changeset bb82c03 for src/libcfa


Ignore:
Timestamp:
Jan 11, 2017, 4:10:51 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
2162c2c
Parents:
ff2d7341
Message:

Removed #ifdef for CFORALL in libcfa headers

Location:
src/libcfa
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/threads

    rff2d7341 rbb82c03  
    1414// Update Count     : 0
    1515//
    16 
    17 #ifdef __CFORALL__
    1816
    1917#ifndef THREADS_H
     
    7573      coroutine* src = this_coroutine();                // optimization
    7674
    77         assertf( src->last != 0, 
     75        assertf( src->last != 0,
    7876                "Attempt to suspend coroutine %.256s (%p) that has never been resumed.\n"
    7977                "Possible cause is a suspend executed in a member called by a coroutine user rather than by the coroutine main.",
    8078                src->name, src );
    81         assertf( src->last->notHalted, 
     79        assertf( src->last->notHalted,
    8280                "Attempt by coroutine %.256s (%p) to suspend back to terminated coroutine %.256s (%p).\n"
    8381                "Possible cause is terminated coroutine's main routine has already returned.",
     
    10098      // not resuming self ?
    10199        if ( src != dst ) {
    102                 assertf( dst->notHalted , 
     100                assertf( dst->notHalted ,
    103101                        "Attempt by coroutine %.256s (%p) to resume terminated coroutine %.256s (%p).\n"
    104102                        "Possible cause is terminated coroutine's main routine has already returned.",
     
    115113#endif //THREADS_H
    116114
    117 #else
    118 #include_next <thread>
    119 #endif //__CFORALL__
    120 
    121115// Local Variables: //
    122116// mode: c //
  • src/libcfa/containers/vector

    rff2d7341 rbb82c03  
    1313// Update Count     : 2
    1414//
    15 
    16 #ifdef __CFORALL__
    1715
    1816#ifndef VECTOR_H
     
    170168#endif // VECTOR_H
    171169
    172 #else
    173 #include_next <vector>
    174 #endif //__CFORALL__
    175 
    176170// Local Variables: //
    177171// mode: c //
  • src/libcfa/fstream

    rff2d7341 rbb82c03  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // fstream -- 
     7// fstream --
    88//
    99// Author           : Peter A. Buhr
     
    1313// Update Count     : 88
    1414//
    15 
    16 #ifdef __CFORALL__
    1715
    1816#ifndef __FSTREAM_H__
     
    6462#endif // __FSTREAM_H__
    6563
    66 #else
    67 #include_next <fstream>
    68 #endif //__CFORALL__
    69 
    7064// Local Variables: //
    7165// mode: c //
    7266// tab-width: 4 //
    7367// End: //
    74 
  • src/libcfa/iostream

    rff2d7341 rbb82c03  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // iostream -- 
     7// iostream --
    88//
    99// Author           : Peter A. Buhr
     
    1313// Update Count     : 93
    1414//
    15 
    16 #ifdef __CFORALL__
    1715
    1816#ifndef __IOSTREAM_H__
     
    2826        void sepReset( ostype *, _Bool );                                       // set separator and default state
    2927        void sepSet( ostype *, const char * );                          // set separator to string (15 character maximum)
    30         const char * sepGet( ostype * );                                        // get separator string 
     28        const char * sepGet( ostype * );                                        // get separator string
    3129        _Bool sepDisable( ostype * );                                           // set default state to off, and return previous state
    3230        _Bool sepEnable( ostype * );                                            // set default state to on, and return previous state
     
    128126#endif // __IOSTREAM_H
    129127
    130 #else
    131 #include_next <iostream>
    132 #endif //__CFORALL__
    133 
    134128// Local Variables: //
    135129// mode: c //
  • src/libcfa/iterator

    rff2d7341 rbb82c03  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // iterator -- 
     7// iterator --
    88//
    99// Author           : Richard C. Bilson
     
    1313// Update Count     : 9
    1414//
    15 
    16 #ifdef __CFORALL__
    1715
    1816#ifndef ITERATOR_H
     
    4846#endif // ITERATOR_H
    4947
    50 #else
    51 #include_next <iterator>
    52 #endif //__CFORALL__
    53 
    5448// Local Variables: //
    5549// mode: c //
  • src/libcfa/limits

    rff2d7341 rbb82c03  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
    7 // limits -- 
    8 // 
     6//
     7// limits --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Wed Apr  6 18:06:52 2016
     
    1212// Last Modified On : Wed Apr  6 21:08:16 2016
    1313// Update Count     : 6
    14 //
    15 
    16 #ifdef __CFORALL__
     14//
    1715
    1816#ifndef LIMITS_H
     
    114112#endif // LIMITS_H
    115113
    116 #else
    117 #include_next <limits>
    118 #endif //__CFORALL__
    119 
    120114// Local Variables: //
    121115// mode: c //
  • src/libcfa/math

    rff2d7341 rbb82c03  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    33//
     
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // math -- 
    8 // 
     7// math --
     8//
    99// Author           : Peter A. Buhr
    1010// Created On       : Mon Apr 18 23:37:04 2016
     
    1212// Last Modified On : Sun Apr 24 12:45:02 2016
    1313// Update Count     : 59
    14 //
    15 
    16 #ifdef __CFORALL__
     14//
    1715
    1816#ifndef MATH_H
     
    356354#endif // MATH_H
    357355
    358 #else
    359 #include_next <math>
    360 #endif //__CFORALL__
    361 
    362356// Local Variables: //
    363357// mode: c //
  • src/libcfa/rational

    rff2d7341 rbb82c03  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
     6//
    77// rational -- Rational numbers are numbers written as a ratio, i.e., as a fraction, where the numerator (top number)
    88//     and the denominator (bottom number) are whole numbers. When creating and computing with rational numbers, results
    99//     are constantly reduced to keep the numerator and denominator as small as possible.
    10 // 
     10//
    1111// Author           : Peter A. Buhr
    1212// Created On       : Wed Apr  6 17:56:25 2016
     
    1414// Last Modified On : Wed May  4 14:11:45 2016
    1515// Update Count     : 16
    16 //
    17 #ifdef __CFORALL__
    18 
     16//
    1917#ifndef RATIONAL_H
    2018#define RATIONAL_H
     
    6765#endif // RATIONAL_H
    6866
    69 #else
    70 #include_next <rational>
    71 #endif //__CFORALL__
    72 
    7367// Local Variables: //
    7468// mode: c //
  • src/libcfa/stdlib

    rff2d7341 rbb82c03  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // stdlib -- 
     7// stdlib --
    88//
    99// Author           : Peter A. Buhr
     
    1313// Update Count     : 99
    1414//
    15 
    16 #ifdef __CFORALL__
    1715
    1816#ifndef STDLIB_H
     
    134132#endif // STDLIB_H
    135133
    136 #else
    137 #include_next <stdlib>
    138 #endif //__CFORALL__
    139 
    140134// Local Variables: //
    141135// mode: c //
Note: See TracChangeset for help on using the changeset viewer.