OnigEncodingTypeST Struct Reference

#include <oniguruma.h>


Data Fields

int(* precise_mbc_enc_len )(const OnigUChar *p, const OnigUChar *e, struct OnigEncodingTypeST *enc)
const char * name
int max_enc_len
int min_enc_len
int(* is_mbc_newline )(const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)
OnigCodePoint(* mbc_to_code )(const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)
int(* code_to_mbclen )(OnigCodePoint code, struct OnigEncodingTypeST *enc)
int(* code_to_mbc )(OnigCodePoint code, OnigUChar *buf, struct OnigEncodingTypeST *enc)
int(* mbc_case_fold )(OnigCaseFoldType flag, const OnigUChar **pp, const OnigUChar *end, OnigUChar *to, struct OnigEncodingTypeST *enc)
int(* apply_all_case_fold )(OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void *arg, struct OnigEncodingTypeST *enc)
int(* get_case_fold_codes_by_str )(OnigCaseFoldType flag, const OnigUChar *p, const OnigUChar *end, OnigCaseFoldCodeItem acs[], struct OnigEncodingTypeST *enc)
int(* property_name_to_ctype )(struct OnigEncodingTypeST *enc, OnigUChar *p, OnigUChar *end)
int(* is_code_ctype )(OnigCodePoint code, OnigCtype ctype, struct OnigEncodingTypeST *enc)
int(* get_ctype_code_range )(OnigCtype ctype, OnigCodePoint *sb_out, const OnigCodePoint *ranges[], struct OnigEncodingTypeST *enc)
OnigUChar *(* left_adjust_char_head )(const OnigUChar *start, const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)
int(* is_allowed_reverse_match )(const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)
int ruby_encoding_index
unsigned int flags


Detailed Description

Definition at line 158 of file oniguruma.h.


Field Documentation

int(* OnigEncodingTypeST::apply_all_case_fold)(OnigCaseFoldType flag, OnigApplyAllCaseFoldFunc f, void *arg, struct OnigEncodingTypeST *enc)

int(* OnigEncodingTypeST::code_to_mbc)(OnigCodePoint code, OnigUChar *buf, struct OnigEncodingTypeST *enc)

int(* OnigEncodingTypeST::code_to_mbclen)(OnigCodePoint code, struct OnigEncodingTypeST *enc)

unsigned int OnigEncodingTypeST::flags

Definition at line 176 of file oniguruma.h.

Referenced by rb_encdb_set_unicode().

int(* OnigEncodingTypeST::get_case_fold_codes_by_str)(OnigCaseFoldType flag, const OnigUChar *p, const OnigUChar *end, OnigCaseFoldCodeItem acs[], struct OnigEncodingTypeST *enc)

int(* OnigEncodingTypeST::get_ctype_code_range)(OnigCtype ctype, OnigCodePoint *sb_out, const OnigCodePoint *ranges[], struct OnigEncodingTypeST *enc)

int(* OnigEncodingTypeST::is_allowed_reverse_match)(const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)

int(* OnigEncodingTypeST::is_code_ctype)(OnigCodePoint code, OnigCtype ctype, struct OnigEncodingTypeST *enc)

int(* OnigEncodingTypeST::is_mbc_newline)(const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)

OnigUChar*(* OnigEncodingTypeST::left_adjust_char_head)(const OnigUChar *start, const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)

int OnigEncodingTypeST::max_enc_len

Definition at line 161 of file oniguruma.h.

Referenced by slow_search().

int(* OnigEncodingTypeST::mbc_case_fold)(OnigCaseFoldType flag, const OnigUChar **pp, const OnigUChar *end, OnigUChar *to, struct OnigEncodingTypeST *enc)

OnigCodePoint(* OnigEncodingTypeST::mbc_to_code)(const OnigUChar *p, const OnigUChar *end, struct OnigEncodingTypeST *enc)

int OnigEncodingTypeST::min_enc_len

Definition at line 162 of file oniguruma.h.

Referenced by slow_search().

const char* OnigEncodingTypeST::name

Definition at line 160 of file oniguruma.h.

Referenced by enc_register_at(), gzfile_reset(), rb_gzfile_ecopts(), rb_str_conv_enc_opts(), and rb_str_dump().

int(* OnigEncodingTypeST::precise_mbc_enc_len)(const OnigUChar *p, const OnigUChar *e, struct OnigEncodingTypeST *enc)

int(* OnigEncodingTypeST::property_name_to_ctype)(struct OnigEncodingTypeST *enc, OnigUChar *p, OnigUChar *end)

Referenced by node_extended_grapheme_cluster().

int OnigEncodingTypeST::ruby_encoding_index

Definition at line 175 of file oniguruma.h.

Referenced by enc_autoload(), and enc_register_at().


The documentation for this struct was generated from the following file:
Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7