Do not copy string if we send string to C# 81/306481/4
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 22 Feb 2024 04:07:21 +0000 (13:07 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 22 Feb 2024 05:23:22 +0000 (14:23 +0900)
commitd39f75490312d8e4cccab3436061d00b7e3312a1
treec4eab21970d8262308996921232952adbc889998
parentc9e6e678760d08a4bc494abea30449e45dcb8da6
Do not copy string if we send string to C#

C# copy native string if we call C# API. So duplicate string and send it is useless.
And also, it's behavior might occure some memory leak.

To resolve it, let we just send const char* directly.

Change-Id: I9f18b25503406081c3866cc979dfca90d5113bb2
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-csharp-binder/common/dali-wrap.cpp
dali-csharp-binder/common/dali-wrap.h
dali-csharp-binder/dali-toolkit/web-view-wrap.cpp