Ruby  3.1.4p223 (2023-03-30 revision HEAD)
Data Fields
OnigEncodingTypeST Struct Reference

Data Fields

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

Detailed Description

Definition at line 160 of file onigmo.h.


The documentation for this struct was generated from the following file: