Purpose:
Bug Fix
Description:
Forward port of the bug fix to the 1.4 branch reguarding the C++
compile error.
Solution:
Need to put
#ifdef __cplusplus
extern "C" {
#endif
/* ... */
#ifdef __cplusplus
}
#endif
around function declarations.
29 lines
499 B
C
29 lines
499 B
C
/*
|
|
* Copyright © 1999-2001 NCSA
|
|
* All rights reserved.
|
|
*
|
|
* Programmer: Robb Matzke <matzke@llnl.gov>
|
|
* Monday, August 2, 1999
|
|
*
|
|
* Purpose: The public header file for the sec2 driver.
|
|
*/
|
|
#ifndef H5FDstdio_H
|
|
#define H5FDstdio_H
|
|
|
|
#include "H5Ipublic.h"
|
|
|
|
#define H5FD_STDIO (H5FD_stdio_init())
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
__DLL__ hid_t H5FD_stdio_init(void);
|
|
__DLL__ herr_t H5Pset_fapl_stdio(hid_t fapl_id);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|