mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
15 lines
311 B
C++
15 lines
311 B
C++
#include <boost/python.hpp>
|
|
#include "classA.h"
|
|
#include "classC.h"
|
|
|
|
namespace python = boost::python;
|
|
|
|
void testCrossA(classA *A) { A->printA(); };
|
|
|
|
void testCrossC(classC *C) { C->printC(); };
|
|
|
|
BOOST_PYTHON_MODULE(moduleB) {
|
|
python::def("testCrossA", testCrossA);
|
|
python::def("testCrossC", testCrossC);
|
|
}
|