provide get_py and get_py_ptr
authorDiane Trout <diane@caltech.edu>
Thu, 7 Dec 2006 23:49:39 +0000 (23:49 +0000)
committerDiane Trout <diane@caltech.edu>
Thu, 7 Dec 2006 23:49:39 +0000 (23:49 +0000)
commitc713e41c854b6038dafe6405a6cee74a246bd0a0
tree784509c5c1561a42a448d06fc08f6a45cd4475b3
parente7b789759fa427e7f2b6440ca18d44a5d0210974
provide get_py and get_py_ptr
I didn't like (*get_py)['name' as a way of getting a python namespace
object. So I changed get_py back to returning a reference by introducing
a new function get_py_ptr which creates the python singleton and returns
a pointer to it.
py/python.cpp
py/python.hpp
py/test/test_python.cpp
qui/mussagl.cpp
qui/threading/InterpreterThread.cpp
qui/threading/InterpreterThread.hpp