diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-23 17:48:35 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-23 17:48:35 +0100 |
commit | d1fd877d83c895bc399682e23f123c94233c42fc (patch) | |
tree | 0767cc9aeee57a2690814987ae6227a35561949b /plugins.c | |
parent | fa6b1f9f77cdfae8d59c69a85e6ae9c4b3fe8812 (diff) |
refcounted playitems
Diffstat (limited to 'plugins.c')
-rw-r--r-- | plugins.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -103,7 +103,8 @@ static DB_functions_t deadbeef_api = { .cond_broadcast = cond_broadcast, // playlist access .pl_item_alloc = (DB_playItem_t* (*)(void))pl_item_alloc, - .pl_item_free = (void (*)(DB_playItem_t *))pl_item_free, + .pl_item_ref = (void (*)(DB_playItem_t *))pl_item_ref, + .pl_item_unref = (void (*)(DB_playItem_t *))pl_item_unref, .pl_item_copy = (void (*)(DB_playItem_t *, DB_playItem_t *))pl_item_copy, .pl_add_file = (int (*) (const char *, int (*cb)(DB_playItem_t *it, void *data), void *))pl_add_file, .pl_add_dir = (int (*) (const char *dirname, int (*cb)(DB_playItem_t *it, void *data), void *user_data))pl_add_dir, |