pub unsafe extern "C" fn ruby_each_words(
str_: *const c_char,
func: Option<unsafe extern "C" fn(word: *const c_char, len: c_int, argv: *mut c_void)>,
argv: *mut c_void,
)Expand description
Scans the passed string, with calling the callback function every time it
encounters a “word”. A word here is a series of characters separated by
either a space (of IEEE 1003.1 section 7.3.1.1), or a ','.
§@param[in] str Target string to split into each words.
@param[in] func Callback function.
@param[in,out] argv Passed as-is to func.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3