diff options
author | Michael Schroeder <mls@suse.de> | 2011-05-02 13:08:09 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2011-05-02 13:08:09 +0200 |
commit | 31d9370991ef97ab188dc90bfb9aef9f207f735e (patch) | |
tree | 3cfe4af099eafeec70f8d0dca32240eec2e31bd9 /src/pool.h | |
parent | ac09948ee86391a410bdab18b87609765409cb01 (diff) | |
download | libsolv-31d9370991ef97ab188dc90bfb9aef9f207f735e.tar.gz libsolv-31d9370991ef97ab188dc90bfb9aef9f207f735e.tar.bz2 libsolv-31d9370991ef97ab188dc90bfb9aef9f207f735e.zip |
- clean up function names for shared library
Diffstat (limited to 'src/pool.h')
-rw-r--r-- | src/pool.h | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -219,10 +219,20 @@ static inline Solvable *pool_id2solvable(const Pool *pool, Id p) return pool->solvables + p; } -extern const char *solvable2str(Pool *pool, Solvable *s); +extern const char *pool_solvable2str(Pool *pool, Solvable *s); +static inline const char *pool_solvid2str(Pool *pool, Id p) +{ + return pool_solvable2str(pool, pool->solvables + p); +} + +/* obsolete, do not use anymore */ +static inline const char *solvable2str(Pool *pool, Solvable *s) +{ + return pool_solvable2str(pool, s); +} static inline const char *solvid2str(Pool *pool, Id p) { - return solvable2str(pool, pool->solvables + p); + return pool_solvable2str(pool, pool->solvables + p); } void pool_set_languages(Pool *pool, const char **languages, int nlanguages); |