Fixed problem with linking the preprocess library, it was due to not specifying extern C in the header.
This commit is contained in:
10
preprocess.h
10
preprocess.h
@@ -36,6 +36,10 @@ along with OpenRS. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define OPENRS_PREPROCESS_HEADER
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Input structure holding raw cornerpoint spec. */
|
||||
struct grdecl{
|
||||
int dims[3];
|
||||
@@ -69,5 +73,11 @@ void process_grdecl (const struct grdecl *g,
|
||||
struct processed_grid *out);
|
||||
void free_processed_grid(struct processed_grid *g);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif // OPENRS_PREPROCESS_HEADER
|
||||
|
||||
|
||||
Reference in New Issue
Block a user