From: "Gerardo Santana Gómez Garrido" Date: 2008-03-30T20:12:38+09:00 Subject: mark, alloc and free functions in C extensions I have a class A written in C that contains a C structure. I have defined the functions mark, alloc and free. I have another class B, written in C, that derives from class A and adds another piece of C data. Should the class B define mark, alloc and free functions for both, class A and class B, C structures? Or sould the class B care for its own C structure only? Will Ruby's marking, allocation and liberation mechanism call their respective functions? I got confused. Thanks in advance. -- Gerardo Santana