ruby/yarp/enc/yp_shared.c
Jemma Issroff cc7f765f2c [Feature #19741] Sync all files in yarp
This commit is the initial sync of all files from ruby/yarp
into ruby/ruby. Notably, it does the following:

* Sync all ruby/yarp/lib/ files to ruby/ruby/lib/yarp
* Sync all ruby/yarp/src/ files to ruby/ruby/yarp/
* Sync all ruby/yarp/test/ files to ruby/ruby/test/yarp
2023-06-21 11:25:39 -07:00

9 lines
302 B
C

#include "yarp/enc/yp_encoding.h"
// The function is shared between all of the encodings that use single bytes to
// represent characters. They don't have need of a dynamic function to determine
// their width.
size_t
yp_encoding_single_char_width(YP_ATTRIBUTE_UNUSED const char *c) {
return 1;
}