From f5e5f3267ea9921b0e42193dce8e3b2ffd569ae2 Mon Sep 17 00:00:00 2001 From: Roman Shterenzon Date: Sun, 8 Dec 2024 11:31:29 +0200 Subject: [PATCH] Support reactions in Ruby swig wrapper --- scripts/openbabel-ruby.i | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/openbabel-ruby.i b/scripts/openbabel-ruby.i index 0e5afcb53..518c089c4 100644 --- a/scripts/openbabel-ruby.i +++ b/scripts/openbabel-ruby.i @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -78,6 +79,7 @@ %include "std_vector.i" %include "std_list.i" %include "std_pair.i" +%include "std_shared_ptr.i" namespace std { @@ -143,7 +145,7 @@ VECTORTEMPLATE_WRAP(OBResidue, OpenBabel::OBResidue) VECTORTEMPLATE_WRAP(OBRing, OpenBabel::OBRing) VECTORTEMPLATE_WRAP(pOBRing, OpenBabel::OBRing*) VECTORTEMPLATE_WRAP(pOBGenericData, OpenBabel::OBGenericData*) - +VECTORTEMPLATE_WRAP(pOBTetrahedralStereo, OpenBabel::OBTetrahedralStereo*) } %define CAST_GENERICDATA_TO(subclass) @@ -229,6 +231,8 @@ namespace std { class stringbuf {}; } %include %include %include +%include +%include %include %include %include