mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rb_enc_code_to_mbclen: fix doxygen
Wrong parameter name. [ci skip]
This commit is contained in:
parent
4b3830127f
commit
ad84c5d1b0
1 changed files with 4 additions and 4 deletions
|
@ -626,10 +626,10 @@ int rb_enc_codelen(int code, rb_encoding *enc);
|
|||
/**
|
||||
* Identical to rb_enc_codelen(), except it returns 0 for invalid code points.
|
||||
*
|
||||
* @param[in] code Code point in question.
|
||||
* @param[in] enc Encoding to convert the code into a byte sequence.
|
||||
* @retval 0 `code` is invalid.
|
||||
* @return otherwise Number of bytes used for `enc` to encode `code`.
|
||||
* @param[in] c Code point in question.
|
||||
* @param[in] enc Encoding to convert `c` into a byte sequence.
|
||||
* @retval 0 `c` is invalid.
|
||||
* @return otherwise Number of bytes needed for `enc` to encode `c`.
|
||||
*/
|
||||
static inline int
|
||||
rb_enc_code_to_mbclen(int c, rb_encoding *enc)
|
||||
|
|
Loading…
Add table
Reference in a new issue