From: Justin Bonnar Date: 2006-09-13T16:20:13+09:00 Subject: Re: Wrapping a C Library: Allocation and duplication issues I don't think that approach will work: librdf_new_classname() allocates the memory it needs and returns a pointer to the structure. Part of the problem is that struct may be different depending on the arguments passed in (a particular storage backend, etc) and that the C header files don't define the internals of the structures themselves (so I get incomplete type errors during compilation. -Justin -- Posted via http://www.ruby-forum.com/.