logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mchar_map_charset -

Description

       Call a function for all the characters in a specified charset. The mcharset_map_chars() function calls
       func for all the characters in the charset named charset_name. A call is done for a chunk of consecutive
       characters rather than character by character.

       func receives three arguments: from, to, and arg.  from and to specify the range of character codes in
       charset.  arg is the same as func_arg.

Errors

           MERROR_CHARSET

Name

       mchar_map_charset -

Return Value

           If the operation was successful, mcharset_map_chars() returns 0. Otherwise, it returns -1 and assigns
           an error code to the external variable merror_code.

Synopsis

       int mchar_map_charset (MSymbol charset_name, void(*)(int from, int to, void *arg) func, void * func_arg)

See Also