Page MenuHomePhabricator

csharp: Fix Hash.DelByValue

Authored by lauromoura on Sep 5 2019, 10:05 AM.



The C function eina_hash_del_by_data requires the same value that was
passed to the add function. As C# hashes store stuff through pointers
due to marshalling, this makes it hard to pass the same pointer for it.

So this functionality is implemented at C# level instead of relying on
the native function directly.

Fixes T8198

Thanks to @brunobelo and @singh.amitesh for the test case.

Diff Detail

rEFL core/efl
move-T8199 (branched from master)
No Linters Available
No Unit Test Coverage
Build Status
Buildable 13141
Build 9338: arc lint + arc unit
lauromoura created this revision.Sep 5 2019, 10:05 AM
lauromoura requested review of this revision.Sep 5 2019, 10:05 AM
brunobelo accepted this revision.Sep 13 2019, 1:34 PM
This revision is now accepted and ready to land.Sep 13 2019, 1:34 PM
This revision was automatically updated to reflect the committed changes.