Sha256: 0a3b9ecc0f91d06a185ca2293df9217c5b9484dd76a0d66e903f7d8384e5c04f

Contents?: true

Size: 596 Bytes

Versions: 8

Compression:

Stored size: 596 Bytes

Contents

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

#ifndef __RXML_ENCODING__
#define __RXML_ENCODING__

#include <ruby/encoding.h>
#include <libxml/encoding.h>
#include <libxml/xmlstring.h>

extern VALUE mXMLEncoding;

void rxml_init_encoding(void);

VALUE rxml_new_cstr(const xmlChar* xstr, const xmlChar* xencoding);
VALUE rxml_new_cstr_len(const xmlChar* xstr, const long length, const xmlChar* xencoding);

rb_encoding* rxml_xml_encoding_to_rb_encoding(VALUE klass, xmlCharEncoding xmlEncoding);
rb_encoding* rxml_figure_encoding(const xmlChar* xencoding);

#endif

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
libxml-ruby-5.0.3-x64-mingw-ucrt ext/libxml/ruby_xml_encoding.h
libxml-ruby-5.0.3 ext/libxml/ruby_xml_encoding.h
libxml-ruby-5.0.2-x64-mingw-ucrt ext/libxml/ruby_xml_encoding.h
libxml-ruby-5.0.2 ext/libxml/ruby_xml_encoding.h
libxml-ruby-5.0.1-x64-mingw-ucrt ext/libxml/ruby_xml_encoding.h
libxml-ruby-5.0.1 ext/libxml/ruby_xml_encoding.h
libxml-ruby-5.0.0-x64-mingw-ucrt ext/libxml/ruby_xml_encoding.h
libxml-ruby-5.0.0 ext/libxml/ruby_xml_encoding.h