efl/src
Felipe Magno de Almeida 2ab6aac74d eina-cxx: Added malloc_clone_allocator to use with POD's when wrapping Eina C structures
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
2014-03-10 12:35:00 +09:00
..
benchmarks eina: ignore benchmark binary. 2013-12-04 18:33:05 +09:00
bin Eolian/Generator: more fixes related to stars to add to params. 2014-03-09 13:19:30 +02:00
bindings eina-cxx: Added malloc_clone_allocator to use with POD's when wrapping Eina C structures 2014-03-10 12:35:00 +09:00
edje_external/emotion efl: Unified eina critical manro to CRI. 2013-12-26 12:27:13 +09:00
examples ecore_avahi: remove useless printf. 2014-02-28 19:58:25 -03:00
lib eina-cxx: Added eina_log support for C++, using IOStreams syntax 2014-03-10 12:35:00 +09:00
modules Evas filters: Use GL_FRAMEBUFFER instead of GL_READ_FRAMEBUFFER 2014-03-07 17:48:23 +09:00
scripts/eina pkgbuild - enable scim by default for input methods and sdl is pointless 2013-12-23 13:38:54 +09:00
static_libs Synced libunibreak local copy with upstream. 2014-01-21 16:41:06 +00:00
tests eina-cxx: Added malloc_clone_allocator to use with POD's when wrapping Eina C structures 2014-03-10 12:35:00 +09:00
utils/ecore ecore - utils - makekeys - fix uniitialized arrays 2013-12-13 21:26:05 +09:00
Makefile.am Eolian: Fix path to .eo 2014-03-09 13:19:07 +02:00
Makefile_EPhysics.am
Makefile_Ecore.am ecore: remove coroutine for now. Can easily be reverted for 1.9. 2013-11-05 11:12:20 +09:00
Makefile_Ecore_Audio.am
Makefile_Ecore_Avahi.am Ecore_Avahi: initial commit. 2013-12-17 19:37:05 +09:00
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am
Makefile_Ecore_Cxx.am ecore_cxx: add main_loop_thread_safe_call_sync and main_loop_thread_safe_call_async with tests 2014-02-26 18:52:08 -03:00
Makefile_Ecore_Drm.am ecore-drm: Add ecore-drm Makefile 2014-03-06 11:17:26 +00:00
Makefile_Ecore_Evas.am ecore_evas: extn - restore missing symbol that resulted in a temporary ABI break. 2014-01-04 11:23:47 +09:00
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am ecore_imf: Add support for wayland 2013-06-24 16:14:14 -03:00
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Psl1ght.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am ecore/wayland: Do not generate subsurface source files. 2013-10-11 14:26:34 -03:00
Makefile_Ecore_Win32.am
Makefile_Ecore_WinCE.am
Makefile_Ecore_X.am ecore-x now supports XPRESENT 2014-01-13 10:19:11 -05:00
Makefile_Edje.am Fix make distcheck 2014-02-17 19:14:25 +09:00
Makefile_Edje_Helper.am
Makefile_Eet.am Eet: Added vieet a tool to edit eet files. 2014-03-07 15:11:30 +00:00
Makefile_Eeze.am alpha1 release autofoo/build tree work to pass distcheck and actually work 2013-11-04 18:33:35 +09:00
Makefile_Efl.am
Makefile_Efreet.am efreet: add async menu test 2013-11-29 22:20:50 +01:00
Makefile_Eina.am eina: add test for old ABI supported function, but not exposed anymore. 2013-10-25 20:16:10 +09:00
Makefile_Eina_Cxx.am eina-cxx: Added eina_log support for C++, using IOStreams syntax 2014-03-10 12:35:00 +09:00
Makefile_Eio.am
Makefile_Eldbus.am
Makefile_Embryo.am
Makefile_Emotion.am Fix make distcheck 2014-02-17 19:14:25 +09:00
Makefile_Eo.am eo: add EO_CLASS_CLASS 2013-10-13 00:00:13 +02:00
Makefile_Eolian.am Eolian: Split eolian build helper a different file. 2014-03-03 14:09:54 +02:00
Makefile_Eolian_Helper.am Eolian Helper file: Fixed generation of legacy headers. 2014-03-07 12:11:24 +00:00
Makefile_Escape.am
Makefile_Ethumb.am
Makefile_Ethumb_Client.am
Makefile_Evas.am Eolian: Integration of Evas Text 2014-03-09 13:18:57 +02:00
Makefile_Evil.am Evil: Fix parallel build for Windows 2014-02-21 10:18:48 +09:00