forked from enlightenment/efl
2ab6aac74d
Summary: Added efl::eina::malloc_clone_allocator to be used with ptr_* data structures for wrapping structures allocated by EFL in C. This allows for example: void foo(Eina_List* l) { efl::eina::ptr_list<int, efl::eina::malloc_clone_allocator> list(l); } If the standard efl::eina::heap_no_clone_allocator is used, the deallocation code uses C++ delete operator, which causes undefined behavior because the allocation was originally done with malloc. Reviewers: cedric CC: savio, cedric Differential Revision: https://phab.enlightenment.org/D614 |
||
---|---|---|
.. | ||
eina_cxx_suite.cc | ||
eina_cxx_test_accessor.cc | ||
eina_cxx_test_error.cc | ||
eina_cxx_test_inarray.cc | ||
eina_cxx_test_inlist.cc | ||
eina_cxx_test_iterator.cc | ||
eina_cxx_test_log.cc | ||
eina_cxx_test_ptrarray.cc | ||
eina_cxx_test_ptrlist.cc | ||
eina_cxx_test_stringshare.cc | ||
eina_cxx_test_thread.cc | ||
eina_cxx_test_value.cc |