Sha256: 7a4f28512a6a9ca68fec65907082116b16c22ff685030b78ca9d1623eec3147b

Contents?: true

Size: 598 Bytes

Versions: 8

Compression:

Stored size: 598 Bytes

Contents

/* Please see the LICENSE file for copyright and distribution information */

#ifndef __RXML_ENCODING__
#define __RXML_ENCODING__

extern VALUE mXMLEncoding;

void rxml_init_encoding();

// Ruby 1.8/1.9 encoding compatibility
VALUE rxml_new_cstr(const xmlChar* xstr, const xmlChar* xencoding);
VALUE rxml_new_cstr_len(const xmlChar* xstr, const long length, const xmlChar* xencoding);

#ifdef HAVE_RUBY_ENCODING_H
rb_encoding* rxml_xml_encoding_to_rb_encoding(VALUE klass, xmlCharEncoding xmlEncoding);
rb_encoding* rxml_figure_encoding(const xmlChar* xencoding);
#endif

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
libxml-ruby-3.2.0 ext/libxml/ruby_xml_encoding.h
libxml-ruby-3.2.0-x64-mingw32 ext/libxml/ruby_xml_encoding.h
libxml-ruby-3.1.0-x64-mingw32 ext/libxml/ruby_xml_encoding.h
libxml-ruby-3.1.0 ext/libxml/ruby_xml_encoding.h
libxml-ruby-3.0.0-x64-mingw32 ext/libxml/ruby_xml_encoding.h
libxml-ruby-3.0.0 ext/libxml/ruby_xml_encoding.h
libxml-ruby-2.9.0-x64-mingw32 ext/libxml/ruby_xml_encoding.h
libxml-ruby-2.9.0 ext/libxml/ruby_xml_encoding.h