Skip to content Skip to sidebar Skip to footer
Showing posts with the label Boost Python

Run Python In C++

I have an application written in C++ and a testing system (also in C++). Testing system is pretty c… Read more Run Python In C++

How To Override __setattr__ In A Wrapped Class (from C++)?

Using boost::python, I have been able to wrap a class (Node) which has some virtual functions, and … Read more How To Override __setattr__ In A Wrapped Class (from C++)?

How To Write A Wrapper Over Functions And Member Functions That Executes Some Code Before And After The Wrapped Function?

I'm trying to write some wrapper class or function that allows me to execute some code before a… Read more How To Write A Wrapper Over Functions And Member Functions That Executes Some Code Before And After The Wrapped Function?

Python Embedded In Cpp: How To Get Data Back To Cpp

While working on a C++ project, I was looking for a third party library for something that is not m… Read more Python Embedded In Cpp: How To Get Data Back To Cpp

How To Compile Static Library With -fpic From Boost.python

By default, libboostpython.a is compiled without -fPIC. But I have to make a python extension and i… Read more How To Compile Static Library With -fpic From Boost.python

How To Reinitialise An Embedded Python Interpreter?

I'm working on embedding Python in our test suite application. The purpose is to use Python to … Read more How To Reinitialise An Embedded Python Interpreter?