public static void JSStringGetUTF8CString(IntPtr js_str_value, IntPtr str_value, int str_length) { if (EtoEnvironment.Platform.IsLinux) { NMLinux.JSStringGetUTF8CString(js_str_value, str_value, str_length); } else if (EtoEnvironment.Platform.IsMac) { NMMac.JSStringGetUTF8CString(js_str_value, str_value, str_length); } else { NMWindows.JSStringGetUTF8CString(js_str_value, str_value, str_length); } }