Opened 14 years ago
Last modified 13 years ago
#2142 new Patches
[fix in git] Patch for boost.python - return_pointee_value
Reported by: | Owned by: | troy d. straszheim | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | python USE GITHUB |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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)
Change History (2)
by , 14 years ago
Attachment: | added_return_pointee_value.patch added |
---|
comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
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:
http://gitorious.org/~straszheim/boost/straszheim/commit/ce3b9844701f34719db29c364bcf17ac5969054b
marking 'fix in git' to indicate that it is staged for merge to trunk.
Note:
See TracTickets
for help on using tickets.
patch that adds return_pointee_value to boost.python