Re: [linux-audio-dev] light C++ set for WAV

From: Erik de Castro Lopo <mle+la@email-addr-hidden-nerd.com>
Date: Wed Jul 26 2006 - 23:58:32 EEST

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
Received on Thu Jul 27 00:15:08 2006

This archive was generated by hypermail 2.1.8 : Thu Jul 27 2006 - 00:15:08 EEST