Opened 10 years ago

Last modified 9 years ago

#2142 new Patches

[fix in git] Patch for boost.python - return_pointee_value

Reported by: Maximilian Matthe <Maxi.Matthe@…> Owned by: troy d. straszheim
Milestone: Boost 1.36.0 Component: python USE GITHUB
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:


The patch adds the return value policy return_pointee_value, which can be nicely used for functions that return pointers to non-exposed objects. I wrote documentation, the header and testcases.

There are some issues:

  • The test cases are not integrated into the Jamfile in the tests-directory (I dont know bjam very well).
  • I dont know, wether the tests are OK the way they are done.
  • I did not add an #include directive to any boost-python header. But some header should include the <boost/python/return_pointee_value.hpp>, but I dont know which one.

Attachments (1)

added_return_pointee_value.patch (14.8 KB) - added by Maximilian Matthe <Maxi.Matthe@…> 10 years ago.
patch that adds return_pointee_value to boost.python

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Maximilian Matthe <Maxi.Matthe@…>

patch that adds return_pointee_value to boost.python

comment:1 Changed 9 years ago by troy d. straszheim

Owner: changed from Dave Abrahams to troy d. straszheim
Summary: Patch for boost.python - return_pointee_value[fix in git] Patch for boost.python - return_pointee_value

Thanks for the patch, guys. It's on my python branch here:

marking 'fix in git' to indicate that it is staged for merge to trunk.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain troy d. straszheim.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.