You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user's API return a not owned []const u8, jsruntime must free the string once v8 copied it.
We must cleary express the two differents strings returned by the user's API:
string owned by the user's API must continue to return []const u8. This string must not be free by jsruntime
string owned by the caller must return a new jsruntime alias of []const u8. jsruntime must free this string.
Name ideas for the alias: TmpStr,ShortLiveStr, PassingStr, FreeStr, DisposableStr...
The text was updated successfully, but these errors were encountered:
When the user's API return a not owned
[]const u8
, jsruntime must free the string once v8 copied it.We must cleary express the two differents strings returned by the user's API:
[]const u8
. This string must not be free by jsruntime[]const u8
. jsruntime must free this string.Name ideas for the alias:
TmpStr
,ShortLiveStr
,PassingStr
,FreeStr
,DisposableStr
...The text was updated successfully, but these errors were encountered: