Re: Private function



В Чтв, 30/11/2006 в 15:22 +0100, David Nečas (Yeti) пишет:
> On Thu, Nov 30, 2006 at 05:06:15PM +0300, Andrew E. Makeev wrote:
> > 
> > right, '_' prefix makes function "very" private, and you can't use it
> > anywhere outside library.
> 
> You are perfectly right.
> 
>   info libtool
> 
> and read the description of -export-symbols-regex carefully,
> then look at Gtk+ Makefiles...
> 
> Yeti

Btw, the purpose of question was not to determine why I couldn't call
that private function using GTK library.

I would to know if I could patch GTK code to make function public and
use it in my code without having any troubles? And if so, why that
function was designed as private originally?

Regards,
-andrew





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]