Re: [pygccxml-development] Indexing suite in Py++ code
Brought to you by:
mbaas,
roman_yakovenko
From: Alexander E. <new...@st...> - 2007-05-15 09:17:25
|
Roman Yakovenko schrieb: > > "GetButtonMappingArray" function returns reference to std::vector<...>, right? > Now you should tell Boost.Python how to manage memory of this object. > > If this function returns reference to a member variable you can use > "return_internal_reference" call policy ( > http://boost.org/libs/python/doc/v2/return_internal_reference.html ) > > Tutorials to Py++ call policies: > http://language-binding.net/pyplusplus/documentation/functions/call_policies.html > Ok, i got it. |