Commit f516ff72 authored by jD91mZM2's avatar jD91mZM2

Merge branch 'regoff_t' into 'master'

Move regoff_t to regex.h

See merge request !168
parents 0469c0c2 0f5fa8c9
Pipeline #1461 failed with stages
in 16 minutes and 49 seconds
......@@ -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;
#[repr(C)]
pub struct regex_t {
// Can't be a normal Vec<T> because then the struct size won't be known
......
Markdown is supported
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