mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* add test export heder to gitignore * define export macros in separate file * install new header * patch GA with the new macros * fix struct declarations * fix conformerparser exports * fix MolSGroupParsing ParseV3000Array export * fix java wrappers * export exceptions * remove duplicated exports * Build RDGeneral exceptions into lib * export queries, only for *nix * fix RingDecomposerLib header manipulation * fix CIP labeler test issues
This commit is contained in:
@@ -11,10 +11,11 @@
|
||||
|
||||
#include <RDGeneral/export.h>
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
namespace RDKit {
|
||||
|
||||
class GenericRDKitException : public std::exception {
|
||||
class RDKIT_RDGENERAL_EXPORT GenericRDKitException : public std::exception {
|
||||
public:
|
||||
GenericRDKitException(const std::string &i) : _value(i){};
|
||||
GenericRDKitException(const char *msg) : _value(msg){};
|
||||
|
||||
@@ -70,6 +70,7 @@
|
||||
%include <boost/smart_ptr/shared_array.hpp>
|
||||
|
||||
/* undefine RDKIT_<LIBNAME>_EXPORT macros */
|
||||
%include <RDGeneral/RDExportMacros.h>
|
||||
%include <RDGeneral/export.h>
|
||||
/* Include the base types before anything that will utilize them */
|
||||
#ifdef SWIGWIN
|
||||
|
||||
@@ -69,6 +69,7 @@
|
||||
%include <boost/smart_ptr/shared_array.hpp>
|
||||
|
||||
/* undefine RDKIT_<LIBNAME>_EXPORT macros */
|
||||
%include <RDGeneral/RDExportMacros.h>
|
||||
%include <RDGeneral/export.h>
|
||||
/* Include the base types before anything that will utilize them */
|
||||
#ifdef SWIGWIN
|
||||
|
||||
Reference in New Issue
Block a user