File: ruby_xml_attribute.h

package info (click to toggle)
ruby-mkrf 0.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,688 kB
  • sloc: ansic: 12,494; ruby: 6,998; sh: 790; yacc: 374; makefile: 57; cpp: 10
file content (21 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* $Id: ruby_xml_attribute.h,v 1.1 2006/02/21 20:40:16 roscopeco Exp $ */

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

#ifndef __RUBY_XML_ATTRIBUTE__
#define __RUBY_XML_ATTRIBUTE__

extern VALUE cXMLAttribute;

typedef struct ruby_xml_attribute {
  xmlAttributePtr attribute;
  VALUE xd;
  int is_ptr;
} ruby_xml_attribute;

void ruby_xml_attribute_free(ruby_xml_attribute *rxa);
void ruby_init_xml_attribute(void);
VALUE ruby_xml_attribute_new(VALUE class, VALUE xd, xmlAttributePtr attribute);
VALUE ruby_xml_attribute_new2(VALUE class, VALUE xd, xmlAttributePtr attribute);
VALUE ruby_xml_attribute_name_get(VALUE self);
#endif