onig_sys::onig_new_without_alloc
[−]
[src]
pub unsafe extern fn onig_new_without_alloc(reg: OnigRegexMut, pattern: *const OnigUChar, pattern_end: *const OnigUChar, option: OnigOptionType, enc: OnigEncoding, syntax: *const OnigSyntaxType, err_info: *mut OnigErrorInfo) -> c_int
Create a regex object. reg object area is not allocated in this function.
int onig_new_without_alloc(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* err_info)
normal return: ONIG_NORMAL