Skip to content

Commit

Permalink
Disable C++ symbol name mangling. (#10)
Browse files Browse the repository at this point in the history
Fixes: #9
  • Loading branch information
sebastic authored Jun 13, 2022
1 parent 8ab82a1 commit 0a768b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ extern "C" {
char *GPJ_grass_to_wkt( const struct Key_Value *,
const struct Key_Value *,
int, int );

void GDALRegister_GRASS();
}

#define GRASS_MAX_COLORS 100000 // what is the right value
Expand Down
4 changes: 4 additions & 0 deletions ogrgrassdriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
#include "cpl_conv.h"
#include "cpl_string.h"

extern "C" {
void RegisterOGRGRASS();
}

CPL_CVSID("$Id$")

/************************************************************************/
Expand Down

0 comments on commit 0a768b3

Please sign in to comment.