LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
test03.cc File Reference
#include <boost/python.hpp>
#include "AClass.hh"

Go to the source code of this file.

Functions

 BOOST_PYTHON_MODULE (test03)
 

Function Documentation

BOOST_PYTHON_MODULE ( test03  )

Definition at line 39 of file test03.cc.

References AClass::GetPointer().

39  {
40  class_<AClass>("AClass", "Singleton")
41  .def("GetPointer", &AClass::GetPointer,
42  return_value_policy<manage_new_object>())
43  ;
44 }
static AClass * GetPointer()
Definition: AClass.cc:57