Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/iostream.c

    re945826 re24f13a  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // iostream.c -- 
     7// iostream.c --
    88//
    99// Author           : Peter A. Buhr
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Apr 30 14:00:53 2016
    13 // Update Count     : 302
     12// Last Modified On : Thu May 26 10:08:31 2016
     13// Update Count     : 305
    1414//
    1515
     
    2121#include <float.h>                                                                              // DBL_DIG, LDBL_DIG
    2222#include <complex.h>                                                                    // creal, cimag
    23 #include <ctype.h>                                                                              // isspace, ispunct
    2423}
    2524
     
    184183} // ?|?
    185184
    186 forall( dtype ostype | ostream( ostype ) )
     185
     186forall( dtype ostype | ostream( ostype ) )
    187187ostype * ?|?( ostype *os, ostype * (* manip)( ostype * ) ) {
    188188        return manip( os );
    189189} // ?|?
    190190
    191 forall( dtype ostype | ostream( ostype ) ) 
     191forall( dtype ostype | ostream( ostype ) )
    192192ostype * endl( ostype * os ) {
    193193        os | '\n';
     
    197197} // endl
    198198
    199 forall( dtype ostype | ostream( ostype ) ) 
     199forall( dtype ostype | ostream( ostype ) )
    200200ostype * sepOn( ostype * os ) {
    201201        sepOn( os );
     
    203203} // sepOn
    204204
    205 forall( dtype ostype | ostream( ostype ) ) 
     205forall( dtype ostype | ostream( ostype ) )
    206206ostype * sepOff( ostype * os ) {
    207207        sepOff( os );
     
    209209} // sepOff
    210210
    211 forall( dtype ostype | ostream( ostype ) ) 
     211forall( dtype ostype | ostream( ostype ) )
    212212ostype * sepEnable( ostype * os ) {
    213213        sepEnable( os );
     
    215215} // sepEnable
    216216
    217 forall( dtype ostype | ostream( ostype ) ) 
     217forall( dtype ostype | ostream( ostype ) )
    218218ostype * sepDisable( ostype * os ) {
    219219        sepDisable( os );
     
    335335} // ?|?
    336336
    337 _Istream_cstrUC cstr( char * s ) { _Istream_cstrUC s = { s }; return s; }
     337_Istream_cstrUC cstr( char * str ) { return (_Istream_cstrUC){ str }; }
    338338forall( dtype istype | istream( istype ) )
    339339istype * ?|?( istype * is, _Istream_cstrUC cstr ) {
     
    342342} // cstr
    343343
    344 _Istream_cstrC cstr( char * s, int size ) { _Istream_cstrC s = { s, size }; return s; }
     344_Istream_cstrC cstr( char * str, int size ) { return (_Istream_cstrC){ str, size }; }
    345345forall( dtype istype | istream( istype ) )
    346346istype * ?|?( istype * is, _Istream_cstrC cstr ) {
Note: See TracChangeset for help on using the changeset viewer.