///
/// Returns the directory that contains the application executable.
///
/// For example, if you have installed Qt in the `C:\Qt`
/// directory, and you run the `regexp` example, this function will
/// return .
///
/// On MacOS and iOS this will point to the directory actually containing
/// the executable, which may be inside an application bundle (if the
/// application is bundled).
///
/// **Warning**: On Linux, this function will try to get the path from the
/// `/proc` file system. If that fails, it assumes that `argv[0]` contains the absolute file name of the executable. The
/// function also assumes that the current directory has not been
/// changed by the application.
///
/// **See also:** [`application_file_path()`]
Returns the directory that contains the application executable.
For example, if you have installed Qt in the `C:\Qt`
directory, and you run the `regexp` example, this function will
return .

On MacOS and iOS this will point to the directory actually containing
the executable, which may be inside an application bundle (if the
application is bundled).

Warning**: On Linux, this function will try to get the path from the
`/proc` file system. If that fails, it assumes that `argv[0]` contains the absolute file name of the executable. The
function also assumes that the current directory has not been
changed by the application.


Returns the directory that contains the application executable . For example if you have installed Qt in the ` C : \ Qt ` directory and you run the ` regexp ` example this function will return . On MacOS and iOS this will point to the directory actually containing the executable which may be inside an application bundle ( if the application is bundled ) . Warning ** : On Linux this function will try to get the path from the ` / proc ` file system . If that fails it assumes that ` argv [ 0 ] ` contains the absolute file name of the executable . The function also assumes that the current directory has not been changed by the application .
pub fn application_dir_path() -> String {
        let (obj_data, funcs) = unsafe {
            (
                ::std::ptr::null(),
                (*((*rute_ffi_get()).get_core_application)(::std::ptr::null()).all_funcs)
                    .core_application_funcs,
            )
        };
        unsafe {
            let ret_val = ((*funcs).application_dir_path)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn application_dir_path ( ) -> String { let ( obj_data , funcs ) = unsafe { ( :: std :: ptr :: null ( ) , ( * ( ( * rute_ffi_get ( ) ) . get_core_application ) ( :: std :: ptr :: null ( ) ) . all_funcs ) . core_application_funcs , ) } ; unsafe { let ret_val = ( ( * funcs ) . application_dir_path ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Returns the directory that contains the application executable.
Returns the directory that contains the application executable .