[Boost-bugs] [Boost C++ Libraries] #2230: Wrapping Python function pointer

Subject: [Boost-bugs] [Boost C++ Libraries] #2230: Wrapping Python function pointer
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-20 07:36:22


#2230: Wrapping Python function pointer
-------------------------------------+--------------------------------------
 Reporter: william.marie_at_[hidden] | Owner: dave
     Type: Feature Requests | Status: new
Milestone: Boost 1.37.0 | Component: Python
  Version: Boost 1.36.0 | Severity: Optimization
 Keywords: function pointer |
-------------------------------------+--------------------------------------
 It would be really usefull to be able to wrap python function pointer as
 the following example :

 typedef void (*fct_void_void)( void );
 void addTimer( double dStartIn, double dTickTime, u32 iTickCount,
 fct_void_void bpFctCallback )
 {
  .....
 }
 BOOST_PYTHON_MODULE(ksys)
 {
       using namespace boost::python;
       def("addTimer", &addTimer);
 }

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2230>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC