Ignore:
Timestamp:
09/08/20 20:57:18 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: pass IssmDouble by reference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/io/Marshalling/Marshalling.h

    r25530 r25543  
    119119                template<typename T> void call(T & value){/*General case: do nothing*/}
    120120                template<typename T> void call(T* & value,int size){/*General case: do nothing*/}
    121                 void call(IssmDouble value);
    122                 void call(IssmDouble* value,int size);
     121                void call(IssmDouble & value);
     122                void call(IssmDouble* & value,int size);
    123123}; /*}}}*/
    124124class RegisterInputFunctor:   public MarshallHandle{ /*{{{*/
     
    135135                template<typename T> void call(T & value){/*General case: do nothing*/}
    136136                template<typename T> void call(T* & value,int size){/*General case: do nothing*/}
    137                 void call(IssmDouble value);
    138                 void call(IssmDouble* value,int size);
     137                void call(IssmDouble & value);
     138                void call(IssmDouble* & value,int size);
    139139}; /*}}}*/
    140140class RegisterOutputFunctor:  public MarshallHandle{ /*{{{*/
     
    149149                template<typename T> void call(T & value){/*General case: do nothing*/}
    150150                template<typename T> void call(T* & value,int size){/*General case: do nothing*/}
    151                 void call(IssmDouble value);
    152                 void call(IssmDouble* value,int size);
     151                void call(IssmDouble & value);
     152                void call(IssmDouble* & value,int size);
    153153}; /*}}}*/
    154154class SetAdjointFunctor:      public MarshallHandle{ /*{{{*/
     
    165165                template<typename T> void call(T & value){/*General case: do nothing*/}
    166166                template<typename T> void call(T* & value,int size){/*General case: do nothing*/}
    167                 void call(IssmDouble value);
    168                 void call(IssmDouble* value,int size);
     167                void call(IssmDouble & value);
     168                void call(IssmDouble* & value,int size);
    169169}; /*}}}*/
    170170#endif
Note: See TracChangeset for help on using the changeset viewer.