/// Returns the path to the ".c" file for the android native app glue
Returns the path to the ".c" file for the android native app glue
Returns the path to the " . c " file for the android native app glue
fn write_native_app_glue_src(android_artifacts_dir: &Path) -> CargoResult<PathBuf> {
    let output_dir = android_artifacts_dir.join("native_app_glue");
    fs::create_dir_all(&output_dir).unwrap();
    let mut h_file = File::create(output_dir.join("android_native_app_glue.h"))?;
    h_file.write_all(&include_bytes!("../../../native_app_glue/android_native_app_glue.h")[..])?;
    let c_path = output_dir.join("android_native_app_glue.c");
    let mut c_file = File::create(&c_path)?;
    c_file.write_all(&include_bytes!("../../../native_app_glue/android_native_app_glue.c")[..])?;
    Ok(c_path)
}
fn write_native_app_glue_src ( android_artifacts_dir : & Path ) -> CargoResult < PathBuf > { let output_dir = android_artifacts_dir . join ( " " ) ; fs :: create_dir_all ( & output_dir ) . unwrap ( ) ; let mut h_file = File :: create ( output_dir . join ( " " ) ) ? ; h_file . write_all ( & include_bytes ! ( " " ) [ .. ] ) ? ; let c_path = output_dir . join ( " " ) ; let mut c_file = File :: create ( & c_path ) ? ; c_file . write_all ( & include_bytes ! ( " " ) [ .. ] ) ? ; Ok ( c_path ) }
Returns the path to the ".c" file for the android native app glue
Returns the path to the " . c " file for the android native app glue
android_artifacts_dir
&Path