Sha256: 15f3586b24f2abf3cc6af79afc9b4559d8a87a379107076777c4ccb4b4c6564d

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

// Copyright 2015-2016 Daniel P. Clark & Other Combinatorics Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according to those terms.
extern crate libc;

use std::path::{Path,MAIN_SEPARATOR};
use libc::c_char;
use std::ffi::{CStr,CString,OsStr};
use std::str;
use std::mem;

include!("ruby_string.rs");
include!("ruby_array.rs");
include!("is_absolute.rs");
include!("is_relative.rs");
include!("is_blank.rs");
include!("both_are_blank.rs");
include!("basename.rs");
include!("dirname.rs");
include!("basename_for_chop.rs");
include!("dirname_for_chop.rs");

// EXAMPLE
//
//#[no_mangle]
//pub extern fn one_and_two() -> RubyArray {
//  let mut words = vec![];
//  words.push(RubyString::to_ruby(&"one".to_string()));
//  words.push(RubyString::to_ruby(&"two".to_string()));
//  RubyArray::from_vec(words)
//}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
faster_path-0.1.1 src/lib.rs