mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
Get SWIG wrappers working with C# again (#4020)
* fix to work for C# * revert gitignore
This commit is contained in:
committed by
greg landrum
parent
0a478a65d8
commit
cdae65d31a
@@ -270,14 +270,14 @@ typedef unsigned long long int uintmax_t;
|
||||
%include <DataStructs/BitOps.h>
|
||||
%template(TanimotoSimilarityEBV) TanimotoSimilarity<ExplicitBitVect,ExplicitBitVect>;
|
||||
%template(DiceSimilarityEBV) DiceSimilarity<ExplicitBitVect,ExplicitBitVect>;
|
||||
%template(DiceSimilarity) RDKit::DiceSimilarity<uint32_t>;
|
||||
*/
|
||||
%template(DiceSimilarity) RDKit::DiceSimilarity<boost::uint32_t>;
|
||||
|
||||
/* vector */
|
||||
%template(Int_Vect) std::vector<int>;
|
||||
%template(Byte_Vect) std::vector<signed char>;
|
||||
%template(Double_Vect) std::vector<double>;
|
||||
%template(UInt_Vect) std::vector<boost::uint32_t>;
|
||||
%template(UInt_Vect) std::vector<uint32_t>;
|
||||
%template(Str_Vect) std::vector<std::string> ;
|
||||
%template(Point_Vect) std::vector<RDGeom::Point *>;
|
||||
%template(Point2D_Vect) std::vector<RDGeom::Point2D *>;
|
||||
@@ -285,9 +285,9 @@ typedef unsigned long long int uintmax_t;
|
||||
%template(Atomic_Params_Vect) std::vector<const ForceFields::UFF::AtomicParams *>;
|
||||
|
||||
/* pair */
|
||||
%template(Int_Pair) std::pair<boost::int32_t, int >;
|
||||
%template(Int_Pair) std::pair<int32_t, int >;
|
||||
%template(Double_Pair) std::pair<double,double>;
|
||||
%template(UInt_Pair) std::pair<boost::uint32_t, int >;
|
||||
%template(UInt_Pair) std::pair<uint32_t, int >;
|
||||
%template(Long_Pair) std::pair<boost::int64_t,int>;
|
||||
|
||||
/* map */
|
||||
@@ -298,8 +298,8 @@ typedef unsigned long long int uintmax_t;
|
||||
%template(Int_Int_Vect_List_Map) std::map<int,std::list<std::vector<int> > >;
|
||||
|
||||
/* vector pair */
|
||||
%template(UInt_Pair_Vect) std::vector<std::pair<boost::uint32_t,int> >;
|
||||
%template(Match_Vect) std::vector<std::pair<boost::int32_t,int> >;
|
||||
%template(UInt_Pair_Vect) std::vector<std::pair<uint32_t,int> >;
|
||||
%template(Match_Vect) std::vector<std::pair<int32_t,int> >;
|
||||
%template(Long_Pair_Vect) std::vector<std::pair<boost::int64_t,int> >;
|
||||
|
||||
/* vector vector */
|
||||
|
||||
Reference in New Issue
Block a user