Skip to content

Commit

Permalink
Merge pull request #2105 from lissyx/export-c
Browse files Browse the repository at this point in the history
Exported symbols should not be C++ mangled
  • Loading branch information
lissyx authored May 10, 2019
2 parents 0c56d11 + 5e7ee43 commit e491705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native_client/deepspeech.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#if defined _MSC_VER
#define DEEPSPEECH_EXPORT extern "C" __declspec(dllexport)
#else /*End of _MSC_VER*/
#define DEEPSPEECH_EXPORT __attribute__ ((visibility("default")))
#define DEEPSPEECH_EXPORT extern "C" __attribute__ ((visibility("default")))
#endif /*End of SWIG*/
#else
#define DEEPSPEECH_EXPORT
Expand Down

0 comments on commit e491705

Please sign in to comment.