Esempio n. 1
0
 public static int JSStringGetMaximumUTF8CStringSize(IntPtr js_str_value)
 {
     if (EtoEnvironment.Platform.IsLinux)
     {
         return(NMLinux.JSStringGetMaximumUTF8CStringSize(js_str_value));
     }
     else if (EtoEnvironment.Platform.IsMac)
     {
         return(NMMac.JSStringGetMaximumUTF8CStringSize(js_str_value));
     }
     else
     {
         return(NMWindows.JSStringGetMaximumUTF8CStringSize(js_str_value));
     }
 }