pub fn next_codepoint(ptr: *const c_char, end: *const c_char, len_p: *mut c_int, enc: Value) -> usize {
    unsafe {
        encoding::rb_enc_codepoint_len(
            ptr,
            end,
            len_p,
            encoding::rb_to_encoding(enc)
        )
    }
}
// ptr - pointer for current point in string starting from the beginning
// end - pointer for the end of the string
// len_p - a mutable integer pointer for Ruby to give us how much we need to add on to `ptr`
// enc - the encoding the codepoints will be based on
pointer for current point in string starting from the beginning
end - pointer for the end of the string
len_p - a mutable integer pointer for Ruby to give us how much we need to add on to `ptr`
enc - the encoding the codepoints will be based on
pointer for current point in string starting from the beginning end - pointer for the end of the string len_p - a mutable integer pointer for Ruby to give us how much we need to add on to ` ptr ` enc - the encoding the codepoints will be based on
pub fn next_codepoint(ptr: *const c_char, end: *const c_char, len_p: *mut c_int, enc: Value) -> usize {
    unsafe {
        encoding::rb_enc_codepoint_len(
            ptr,
            end,
            len_p,
            encoding::rb_to_encoding(enc)
        )
    }
}
pub fn next_codepoint ( ptr : * const c_char , end : * const c_char , len_p : * mut c_int , enc : Value ) -> usize { unsafe { encoding :: rb_enc_codepoint_len ( ptr , end , len_p , encoding :: rb_to_encoding ( enc ) ) } }
ptr - pointer for current point in string starting from the beginning
end - pointer for the end of the string
len_p - a mutable integer pointer for Ruby to give us how much we need to add on to `ptr`
enc - the encoding the codepoints will be based on
ptr - pointer for current point in string starting from the beginning end - pointer for the end of the string len_p - a mutable integer pointer for Ruby to give us how much we need to add on to ` ptr ` enc - the encoding the codepoints will be based on
ptr
*const c_char
end
*const c_char
len_p
*mut c_int
enc
Value
ptr
*const c_char
end
*const c_char
len_p
*mut c_int
enc
Value