William S Fulton
6cec69ef7b
Remove an unnecessary shared_ptr reference count increment in Ruby wrappers
...
When wrapping STL containers, remove a shared_ptr reference count
increment when an upcast is needed when checking type conversion
in traits_check::check.
2020-02-13 19:48:30 +00:00
William S Fulton
ed4b84f4d3
Fix overloading of shared_ptr method overloading
...
Add 'equivalent' attribute to typecheck typemap.
Closes #1098 .
2017-09-23 15:19:34 +01:00
Mike Romberg
a67eff0ae9
remove bool from shared_ptr as well.
2017-07-03 20:55:40 -06:00
Takashi Tamura
661c3fc554
[ruby] treat null shared_ptr in std containers properly.
2017-04-20 18:53:47 +09:00
William S Fulton
660147043d
Correct comment about const removal for shared_ptr
2017-04-20 07:49:03 +01:00
William S Fulton
1a6f8d1e4b
Ruby shared_ptr on error code improvement in traits_as::as
2017-04-13 07:04:07 +01:00
William S Fulton
83a389d3fb
Add support for pointers to shared_ptr and null shared_ptr in Ruby containers
...
Upcasting of pointers to shared_ptr would need some more fundamental
changes, but not done yet ... pointers to shared_ptr are not common.
2017-04-13 06:59:56 +01:00
Takashi Tamura
b32854bc59
use forward declaration to treat the dependency of fragments
2017-03-29 19:11:44 +09:00
Takashi Tamura
377d439964
Merge remote-tracking branch 'origin/shared_ptr_const_conv' into shared_ptr_derived_2
2017-03-29 18:16:01 +09:00
Takashi Tamura
cb1f89cb68
[ruby] must not do a null check for VALUE.
2017-03-07 11:43:01 +09:00
Takashi Tamura
f96c2ad73d
[ruby] For swig::from, use template specialization to convert shared_ptr<const T> to shared_ptr<T>.
2017-03-03 12:50:23 +09:00
Takashi Tamura
806f49bf58
[ruby] edit comments [skip ci]
2017-03-02 11:55:09 +09:00
Takashi Tamura
a784ace983
[ruby] move template specialization to std_shared_ptr.i.
2017-03-02 09:47:46 +09:00
William S Fulton
4677dbb796
Add Ruby shared_ptr typemaps
2015-09-25 22:57:53 +01:00