Dmitry Baikov wrote:
Hi, Erik!
I'd suggest making all wrapper functions inline,
as they are one-liners by definition and
anyway wrapper includes libsndfile headers.
So there's nothing to hide here.
Yes, that was my idea. So if the sndfile.hh has:
class Sndile
{
int method (/* params */) ;
}
int method (/* params */)
{
/* whatever */
}
do I need to add an inline keyword anywhere and if so where?
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
"It has been discovered that C++ provides a remarkable facility
for concealing the trival details of a program -- such as where
its bugs are." -- David Keppel