> For SWIG I implemented support for mapping between C pointers and  
> Ruby objects by using a Hash Table (ruby's built in one,  
> st_table).   That allows you to enforce a one-to-one Ruby to C  
> object mapping.  Do we want to do something like that here?

It doesn't exist now and I'm inclined to say that adding it would be  
a bad idea.  Sadly, I think the library needs to be more aggressive  
about dup'ing data.

-sc

PS  This is one of the primary reasons I use D as a programming  
language these days instead of Ruby.  <:~)
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to