File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010VALUE mLibXML ;
1111
12- static void rxml_init_memory (void )
13- {
14- /* Disable for now - broke attributes.
15- xmlGcMemSetup(
16- (xmlFreeFunc)ruby_xfree,
17- (xmlMallocFunc)ruby_xmalloc,
18- (xmlMallocFunc)ruby_xmalloc,
19- (xmlReallocFunc)ruby_xrealloc,
20- (xmlStrdupFunc)ruby_strdup
21- );*/
22- }
23-
2412void Init_libxml_ruby (void )
2513{
2614/* The libxml gem provides Ruby language bindings for GNOME's Libxml2
@@ -40,12 +28,11 @@ void Init_libxml_ruby(void)
4028 * copyright and distribution information.
4129 */
4230
43- // Seutp for threading. http://xmlsoft.org/threads.html
31+ // Setup for threading. http://xmlsoft.org/threads.html
4432 xmlInitParser ();
4533
4634 mLibXML = rb_define_module ("LibXML" );
4735
48- rxml_init_memory ();
4936 rxml_init_registry ();
5037 rxml_init_xml ();
5138 rxml_init_io ();
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments