[Tizen] Do not copy string if we send string to C# 84/306484/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 22 Feb 2024 05:20:30 +0000 (14:20 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 22 Feb 2024 05:22:17 +0000 (14:22 +0900)
commite53fb3c4523c83cf31f489fa4b542e93fefe078c
treebfda6e2be609ed29001c00dfc1e9cbfc7d8e8d41
parent57116a26920158b0ecfd40cb44fe1898c282b18b
[Tizen] 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: Idbeb2f3c6c67b579d2525cb94324a7fc565c7da6
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-csharp-binder/src/dali-wrap.cpp
dali-csharp-binder/src/dali-wrap.h
dali-csharp-binder/src/web-view-wrap.cpp