Commit 0f5fa8c9 authored by Nagy Tibor's avatar Nagy Tibor
Browse files

Move regoff_t to regex.h

parent 3f4fbf90
......@@ -20,7 +20,6 @@ typedef long clock_t;
typedef int clockid_t;
typedef void* timer_t;
typedef unsigned long int blkcnt_t;
typedef size_t regoff_t;
typedef unsigned char u_char, uchar;
typedef unsigned short u_short, ushort;
......@@ -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;
pub struct regex_t {
// Can't be a normal Vec<T> because then the struct size won't be known
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment