Archive Index
This month's Index
|
Subject: Re: Export default functions in the API
Re: Export default functions in the API
From: Mikhail Gusarov <dottedmag_at_dottedmag.net>
Date: Wed, 27 Jan 2010 18:44:41 +0600
Twas brillig at 13:39:59 27.01.2010 UTC+01 when sofian.brabez_at_wallix.com did gyre and gimble:
>> SB> Like that libssh2_session_init is not part of LIBSSH2_API and
>> Why do you want to lookup it _this_ way?
SB> Because i don't know another way.
Looking at documentation and headers is better way: libraries may change
Exported symbols in shared object consistute ABI of library, not
>> SB> Do you think it's a good idea to change all #define functions ?
>> It does not buy anything meaningful and slightly pessimizes things
SB> So, I concluded it's was bad idea. I'm not familliar with symbols
Actually it was nitpicking - symbol relocation costs are neglible on any
Though as you are interested there is a good doc by Ulrich Drepper
-- http://fossarchy.blogspot.com/
_______________________________________________
|