Fixed problem with linking the preprocess library, it was due to not specifying extern C in the header.

This commit is contained in:
Atgeirr Flø Rasmussen
2009-06-20 20:36:56 +00:00
parent 36b1e712a3
commit 4440ec8426

View File

@@ -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