On Thu, 20 May 2010 06:18:34 +0200 (CEST) Vincent Torri <vto...@univ-evry.fr> said:
> > > > +static void * > > +_ecore_evas_buffer_pix_alloc(void *data, int size) > > +{ > > + return malloc(size); > > +} > > + > > +static void * > > +_ecore_evas_buffer_pix_free(void *data, void *pix) > > +{ > > + free(pix); > > +} > > what about inlining those functions ? > > Vincent as they are used as function pointers... they can't be inlined. it's not performance critical anyway... and if they were just used as regular funcs any compiler with 1/100th of a brain will auto-inline functions anyway (that are small and able to be inlined). -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel