/[escript]/trunk/escript/src/DataC.h
ViewVC logotype

Diff of /trunk/escript/src/DataC.h

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

revision 2518 by jfenwick, Wed Apr 15 00:17:20 2009 UTC revision 2519 by jfenwick, Mon Jul 6 00:43:08 2009 UTC
# Line 128  This function has been removed because i Line 128  This function has been removed because i
128     \return true if data is expanded or the data is lazy but would resolve to expanded. False otherwise.     \return true if data is expanded or the data is lazy but would resolve to expanded. False otherwise.
129  */  */
130  ESCRIPT_DLL_API int isExpanded(escriptDataC* data);  ESCRIPT_DLL_API int isExpanded(escriptDataC* data);
131    
132  /**  /**
133     \brief     \brief
134     Return a pointer to the data for the given sample number.     Return a pointer to the data for the given sample number.
# Line 135  ESCRIPT_DLL_API int isExpanded(escriptDa Line 136  ESCRIPT_DLL_API int isExpanded(escriptDa
136     data may be NULL, in which case NULL is returnd.     data may be NULL, in which case NULL is returnd.
137    \param data Input - C wrapper for Data.    \param data Input - C wrapper for Data.
138    \param sampleNo Input - The sample number.    \param sampleNo Input - The sample number.
139      \param buffer - storage to be used when computing the value of the sample.
140    
141      Buffers can be created and freed using the allocSampleBuffer and freeSampleBuffer calls.
142  */  */
143  ESCRIPT_DLL_API double __const * getSampleDataRO(escriptDataC* data, int sampleNo, void* buffer);  ESCRIPT_DLL_API double __const * getSampleDataRO(escriptDataC* data, int sampleNo, void* buffer);
144  /* Placement of __const might be important. See .cpp */  /* Placement of __const might be important. See .cpp */
# Line 157  ESCRIPT_DLL_API double* getSampleDataRW( Line 161  ESCRIPT_DLL_API double* getSampleDataRW(
161     Fast version of getSampledataRO: does no error checking.     Fast version of getSampledataRO: does no error checking.
162    \param data Input - C wrapper for Data.    \param data Input - C wrapper for Data.
163    \param sampleNo Input - The sample number.    \param sampleNo Input - The sample number.
164      \param buffer - storage to be used when computing the value of the sample.
165    
166      Buffers can be created and freed using the allocSampleBuffer and freeSampleBuffer calls.
167  */  */
168  ESCRIPT_DLL_API double __const* getSampleDataROFast(escriptDataC* data, int sampleNo, void* buffer);  ESCRIPT_DLL_API double __const* getSampleDataROFast(escriptDataC* data, int sampleNo, void* buffer);
169    

Legend:
Removed from v.2518  
changed lines
  Added in v.2519

  ViewVC Help
Powered by ViewVC 1.1.26