31 Dec
2008
31 Dec
'08
3:50 p.m.
On Wed, Dec 31, 2008 at 2:43 PM, Nagy Gabor <ngaba@bibl.u-szeged.hu> wrote:
Since your _alpm_is_needed code (btw, _alpm prefix is not needed here)
Oh indeed, all the static functions should not have any prefix. Maybe the README file is not perfectly clear about this, but it can be understood implicitly. 26 In a general manner, public library functions are named "alpm_<type>_<action>" 27 (examples: alpm_trans_commit(), alpm_release(), alpm_pkg_get_name(), ...). 28 Internal (and thus private) functions should be named "_alpm_XXX" for instance 29 (examples: _alpm_needbackup(), _alpm_runscriplet(), ...). Functions defined and 30 used inside a single file should be defined as "static".