Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test03.cc File Reference
#include <boost/python.hpp>
#include "AClass.hh"
Include dependency graph for test03.cc:

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.

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

Here is the call graph for this function: