Move regoff_t to regex.h

This commit is contained in:
Tibor Nagy
2018-10-09 16:43:34 +02:00
parent 3f4fbf9084
commit 0f5fa8c9d4
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -9,6 +9,8 @@ use platform::types::*;
use posix_regex::{PosixRegexBuilder, PosixRegex};
use posix_regex::compile::{Error as CompileError, Token, Range};
pub type regoff_t = size_t;
#[repr(C)]
pub struct regex_t {
// Can't be a normal Vec<T> because then the struct size won't be known