Skip to content
This repository
Browse code

fixing windows compiler issue

  • Loading branch information...
commit 33d1f5a29d2447a914331382a8f246fcbf0d6833 1 parent 69b0581
Aaron Patterson authored March 22, 2009

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  ext/nokogiri/xml_node_set.c
4  ext/nokogiri/xml_node_set.c
@@ -7,7 +7,7 @@
7 7
  *
8 8
  * Duplicate this node set
9 9
  */
10  
-static VALUE dup(VALUE self)
  10
+static VALUE duplicate(VALUE self)
11 11
 {
12 12
   xmlNodeSetPtr node_set;
13 13
   Data_Get_Struct(self, xmlNodeSet, node_set);
@@ -195,5 +195,5 @@ void init_xml_node_set(void)
195 195
   rb_define_method(klass, "push", push, 1);
196 196
   rb_define_method(klass, "unlink", unlink_nodeset, 0);
197 197
   rb_define_method(klass, "to_a", to_array, 0);
198  
-  rb_define_method(klass, "dup", dup, 0);
  198
+  rb_define_method(klass, "dup", duplicate, 0);
199 199
 }

0 notes on commit 33d1f5a

Please sign in to comment.
Something went wrong with that request. Please try again.