Changeset 1220
- Timestamp:
- 17/03/09 11:06:04 (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/napi.h (modified) (2 diffs)
-
src/napi.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/napi.h
r1217 r1220 199 199 200 200 # define NXgetinfo MANGLE(nxigetinfo) 201 # define NXgetrawinfo MANGLE(nxigetrawinfo) 201 202 # define NXgetnextentry MANGLE(nxigetnextentry) 202 203 # define NXgetdata MANGLE(nxigetdata) … … 684 685 NAPI internals 685 686 ------------------------------------------------------------------------*/ 687 /** 688 * Retrieve information about the currently open dataset. In contrast to the main function below, 689 * this function does not try to find out about the size of strings properly. 690 * \param handle A NeXus file handle as initialized by NXopen. 691 * \param rank A pointer to an integer which will be filled with the rank of 692 * the dataset. 693 * \param dimension An array which will be initialized with the size of the dataset in any of its 694 * dimensions. The array must have at least the size of rank. 695 * \param datatype A pointer to an integer which be set to the NeXus data type code for this dataset. 696 * \return NX_OK on success, NX_ERROR in the case of an error. 697 * \ingroup c_metadata 698 */ 699 extern NXstatus NXgetrawinfo(NXhandle handle, int* rank, int dimension[], int* datatype); 700 686 701 /** \typedef void (*ErrFunc)(void *data, char *text) 687 702 * All NeXus error reporting happens through this special function, the -
trunk/src/napi.c
r1217 r1220 857 857 return status; 858 858 } 859 859 /*---------------------------------------------------------------------------*/ 860 NXstatus NXgetrawinfo (NXhandle fid, int *rank, 861 int dimension[], int *iType) 862 { 863 int status; 864 char *pPtr = NULL; 865 866 pNexusFunction pFunc = handleToNexusFunc(fid); 867 status = pFunc->nxgetinfo(pFunc->pNexusData, rank, dimension, iType); 868 return status; 869 } 860 870 /*-------------------------------------------------------------------------*/ 861 871
Note: See TracChangeset
for help on using the changeset viewer.
