Skip to content

Commit

Permalink
Fix include issue, see #209
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed Jan 8, 2024
1 parent 8884433 commit 317e55a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
32 changes: 17 additions & 15 deletions ext/libxml/ruby_xml_attributes.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
/* Please see the LICENSE file for copyright and distribution information */

#ifndef __RXML_ATTRIBUTES__
#define __RXML_ATTRIBUTES__

extern VALUE cXMLAttributesibutes;

void rxml_init_attributes(void);
VALUE rxml_attributes_new(xmlNodePtr xnode);

VALUE rxml_attributes_attribute_get(VALUE self, VALUE name);
VALUE rxml_attributes_attribute_set(VALUE self, VALUE name, VALUE value);


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

#ifndef __RXML_ATTRIBUTES__
#define __RXML_ATTRIBUTES__

#include <libxml/tree.h>

extern VALUE cXMLAttributesibutes;

void rxml_init_attributes(void);
VALUE rxml_attributes_new(xmlNodePtr xnode);

VALUE rxml_attributes_attribute_get(VALUE self, VALUE name);
VALUE rxml_attributes_attribute_set(VALUE self, VALUE name, VALUE value);


#endif
2 changes: 2 additions & 0 deletions ext/libxml/ruby_xml_encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#define __RXML_ENCODING__

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

extern VALUE mXMLEncoding;

Expand Down

0 comments on commit 317e55a

Please sign in to comment.