NetCDF  4.4.1.1
netcdf_mem.h
Go to the documentation of this file.
1 
12 #ifndef NETCDF_MEM_H
13 #define NETCDF_MEM_H 1
14 
15 #if defined(__cplusplus)
16 extern "C" {
17 #endif
18 
19 /* Declaration modifiers for DLL support (MSC et al) */
20 #if defined(DLL_NETCDF) /* define when library is a DLL */
21 # if defined(DLL_EXPORT) /* define when building the library */
22 # define MSC_EXTRA __declspec(dllexport)
23 # else
24 # define MSC_EXTRA __declspec(dllimport)
25 # endif
26 #include <io.h>
27 #else
28 #define MSC_EXTRA
29 #endif /* defined(DLL_NETCDF) */
30 
31 # define EXTERNL MSC_EXTRA extern
32 
33 EXTERNL int nc_open_mem(const char* path, int mode, size_t size, void* memory, int* ncidp);
34 
35 #if defined(__cplusplus)
36 }
37 #endif
38 
39 #endif /* NETCDF_MEM_H */
EXTERNL int nc_open_mem(const char *path, int mode, size_t size, void *memory, int *ncidp)
Open a netCDF file with the contents taken from a block of memory.
Definition: dfile.c:760

Return to the Main Unidata NetCDF page.
Generated on Tue Apr 4 2017 06:09:19 for NetCDF. NetCDF is a Unidata library.