summarylogtreecommitdiffstats
path: root/boost.patch
blob: e7d1b2aceb993005f27e69f8e466d8f45f9bfa1d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./emc/rs274ngc/rs274ngc_pre.cc	2014-10-22 06:40:15.674483981 +0200
+++ ./emc/rs274ngc/rs274ngc_pre.cc	2014-10-22 06:40:30.550990352 +0200
@@ -129,7 +129,7 @@
 	// since interp.init() may be called repeatedly this would create a new
 	// wrapper instance on every init(), abandoning the old one and all user attributes
 	// tacked onto it, so make sure this is done exactly once
-	_setup.pythis =  boost::python::object(boost::cref(this));
+	_setup.pythis =  boost::python::object(boost::cref(*this));
 	
 	// alias to 'interpreter.this' for the sake of ';py, .... ' comments
 	// besides 'this', eventually use proper instance names to handle