struct in_traits<eina::stringshare> { typedef eina::stringshare type; };
template <>
struct in_traits<eina::stringshare const> { typedef eina::stringshare const type; };
+template <>
+struct in_traits<efl::eina::strbuf> { typedef efl::eina::strbuf type; };
+template <>
+struct in_traits<efl::eina::strbuf const> { typedef efl::eina::strbuf const type; };
template <typename T>
struct in_traits<T&> { typedef T& type; };
template <typename T>
{
return eina_stringshare_ref(x.c_str());
}
+inline Eina_Strbuf* convert_to_c_impl(efl::eina::strbuf& x, tag<Eina_Strbuf*, efl::eina::strbuf, false>)
+{
+ return x.native_handle();
+}
template <typename T, typename U, typename Deleter>
T* convert_to_c_impl(std::unique_ptr<U, Deleter>& v, tag<T*, std::unique_ptr<U, Deleter>>)
{
@since 1.21
]]
params {
- @in sb: ptr(Eina.Strbuf); [[A string buffer, must not be $null.]]
+ @in sb: strbuf; [[A string buffer, must not be $null.]]
}
}
@property event_global_freeze_count @class {