Ruby: internal/transcode.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Functions | Variables
transcode.h File Reference

Internal header for Encoding::Converter. More...

`#include "ruby/internal/config.h"`
`#include <stddef.h>`
`#include "ruby/ruby.h"`
`#include "ruby/encoding.h"`

Go to the source code of this file.

## Functions
size_t | rb_econv_memsize (rb_econv_t *)

## Variables
VALUE | rb_cEncodingConverter

## Detailed Description

Internal header for Encoding::Converter.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file transcode.h.

## Function Documentation

## ◆ rb_econv_memsize()

size_t rb_econv_memsize | ( | rb_econv_t * | ec | ) |

Definition at line 1712 of file transcode.c.

References rb_econv_t::elems, rb_econv_t::in_buf_end, rb_econv_t::in_buf_start, rb_econv_t::num_allocated, rb_econv_t::num_trans, rb_econv_elem_t::out_buf_end, rb_econv_elem_t::out_buf_start, rb_econv_t::replacement_allocated, rb_econv_t::replacement_len, and rb_econv_elem_t::tc.

Referenced by rb_io_memsize().

## Variable Documentation

## ◆ rb_cEncodingConverter

VALUE rb_cEncodingConverter
| extern

Definition at line 34 of file transcode.c.

Referenced by InitVM_transcode().