LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 40 of file test03.cc.

References AClass::GetPointer().

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