Merge branch 'tamuratak-shared_ptr_derived_2'
* tamuratak-shared_ptr_derived_2: Correct comment about const removal for shared_ptr Correct ordering of declarations in testcase Ruby shared_ptr on error code improvement in traits_as::as Add support for pointers to shared_ptr and null shared_ptr in Ruby containers Add shared_ptr non-overloaded upcast tests use forward declaration to treat the dependency of fragments [ruby] must not do a null check for VALUE. [ruby] add tests for shared_ptr of const Type. [ruby] For swig::from, use template specialization to convert shared_ptr<const T> to shared_ptr<T>. [ruby] edit comments [skip ci] [ruby] move template specialization to std_shared_ptr.i. [ruby] add tests for upcasting std::shared_ptr within std containers. [ruby] use template specialization for swig::asptr,asval functions on std:shared_ptr.
This commit is contained in:
commit
c9d094e034
8 changed files with 460 additions and 1 deletions
|
|
@ -3,8 +3,9 @@
|
|||
* The Ruby classes, for C++
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyclasses.swg>
|
||||
%include <rubystdcommon_forward.swg>
|
||||
|
||||
%fragment("StdTraits","header",fragment="StdTraitsCommon")
|
||||
%fragment("StdTraits","header",fragment="StdTraitsCommon",fragment="StdTraitsForwardDeclaration")
|
||||
{
|
||||
|
||||
namespace swig {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue