The Gaudi Framework
master (37c0b60a)
PyExample.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
/*
12
* PythonModule.cpp
13
*
14
* Created on: Sep 1, 2010
15
* Author: marcocle
16
*/
17
24
#include "
Functions.h
"
25
26
#include <boost/python.hpp>
27
28
BOOST_PYTHON_MODULE
( PyExample ) {
29
using namespace
boost::python;
30
def(
"greet"
,
greet
);
31
}
BOOST_PYTHON_MODULE
BOOST_PYTHON_MODULE(PyExample)
Definition:
PyExample.cpp:28
greet
char const * greet()
Simple C++ function.
Definition:
Functions.cpp:19
Functions.h
GaudiTestSuite
src
PythonModule
PyExample.cpp
Generated on Thu Dec 19 2024 15:35:07 for The Gaudi Framework by
1.8.18