Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
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()