/[escript]/branches/arrexp_2137_win/escript/src/DataC.cpp
ViewVC logotype

Diff of /branches/arrexp_2137_win/escript/src/DataC.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2204 by jfenwick, Fri Jan 9 01:33:34 2009 UTC revision 2205 by jfenwick, Fri Jan 9 01:49:36 2009 UTC
# Line 137  int isEmpty(escriptDataC* data) Line 137  int isEmpty(escriptDataC* data)
137  // The unusual (for me) ordering of __const here is because I'm not sure  // The unusual (for me) ordering of __const here is because I'm not sure
138  // whether gcc would try to interpret __const as a function attribute rather than  // whether gcc would try to interpret __const as a function attribute rather than
139  // a modifier on the return value. Putting it here should remove any ambiguity  // a modifier on the return value. Putting it here should remove any ambiguity
140  double* __const getSampleDataRO(struct escriptDataC* data, int sampleNo, void* buffer)  // I have used const rather than __const in the cpp because only c++ will be reading the cpp.
141    double const* getSampleDataRO(struct escriptDataC* data, int sampleNo, void* buffer)
142  {  {
143    if (data == (struct escriptDataC*)0) {    if (data == (struct escriptDataC*)0) {
144         return NULL;         return NULL;

Legend:
Removed from v.2204  
changed lines
  Added in v.2205

  ViewVC Help
Powered by ViewVC 1.1.26