Page MenuHomePhabricator

eina: add eina_mempool_iterator_new to slowly iterate every allocated pointer in a mempool.
ClosedPublic

Authored by cedric on Sun, Sep 15, 11:33 PM.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cedric created this revision.Sun, Sep 15, 11:33 PM
cedric requested review of this revision.Sun, Sep 15, 11:33 PM
segfaultxavi requested changes to this revision.Mon, Sep 16, 3:42 AM
segfaultxavi added inline comments.
src/lib/eina/eina_mempool.h
201

Provide an iterator to walk all allocated elements from a specified mempool.

This revision now requires changes to proceed.Mon, Sep 16, 3:42 AM
zmike accepted this revision.Mon, Sep 16, 5:58 AM

Technically seems fine.

cedric updated this revision to Diff 25182.Thu, Sep 19, 1:08 PM
cedric edited the summary of this revision. (Show Details)

rebase & take comment into account

zmike accepted this revision.Thu, Sep 19, 1:40 PM
This revision was not accepted when it landed; it landed in state Needs Review.Thu, Sep 19, 2:41 PM
This revision was automatically updated to reflect the committed changes.