Vincent Torri
333b64f15e
some doc fixes
...
SVN revision: 51242
2010-08-17 06:58:26 +00:00
Cedric BAIL
f75eab161d
* eina: remove thread safe data type for now. They will be back !
...
SVN revision: 51179
2010-08-16 09:32:09 +00:00
Cedric BAIL
a6645cb746
* eina: fix eina array threadsafe version.
...
Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.
SVN revision: 51000
2010-08-11 14:32:30 +00:00
Mike Blumenkrantz
a589a1bcbe
and this too
...
SVN revision: 50960
2010-08-10 12:00:36 +00:00
Mike Blumenkrantz
56a0bd9396
implement threadsafety for arrays, alter all eina internal array usage to (hopefully) be threadsafe
...
call eina_threads_init() to enable this if you have pthread rwlock support (posix 2001)
note some function prototypes have lost const on array params to allow locking
WARNING: you should NOT call eina_threads_shutdown unless you are positive that you will not use any arrays which were created while threadsafe mode were enabled, and vice versa. Failing to adhere to this warning WILL result in either deadlocks or memory leaks.
SVN revision: 50951
2010-08-10 03:26:15 +00:00
Cedric BAIL
a9a3813966
* eina: Allow compilation with -Wshadow.
...
Patch from Albin Tonerre.
SVN revision: 45497
2010-01-23 19:53:27 +00:00
Gustavo Sverzut Barbieri
c98bf92366
replace UNLIKELY() with EINA_UNLIKELY()
...
SVN revision: 42354
2009-09-08 21:42:17 +00:00
Vincent Torri
9110d8d574
fix a bit the documentation, but there are still
...
a lot of doc to write...
SVN revision: 41164
2009-06-22 20:03:58 +00:00
Vincent Torri
cda565a38e
* more doc in the tutorial of the array data type
...
* minor formatting
SVN revision: 38853
2009-01-29 23:16:23 +00:00
Cedric BAIL
5383cabf2b
Fix EINA_ARRAY_ITER_NEXT off by one bug. With this fix you can no longer push
...
NULL pointer inside an array.
SVN revision: 38232
2008-12-19 17:55:57 +00:00
Gustavo Sverzut Barbieri
08832b519b
grow array only when required, use step properly.
...
We need to grow when we reach total amount, not when current + step > total.
SVN revision: 37959
2008-12-06 06:13:55 +00:00
Cedric BAIL
e8ed3963c8
Add eina_array_data_set.
...
SVN revision: 37475
2008-11-05 17:16:07 +00:00
Vincent Torri
f50feadeae
* add benchmark and file documentation
...
* reorganize a bit more. it's not finished
* fix spellingg and formatting
* gnuplot file names generated by our bechmarks tests have an
absolute time description and not H:M:S description, as this
breaks the check out of the repo on Windows.
SVN revision: 36090
2008-09-19 05:22:43 +00:00
Vincent Torri
78c9527052
* add documentation. The tutorial needs to be written, though
...
* rename eina_arra_count() to eina_array_count_get() and
eina_arra_get() to eina_array_data_get()
SVN revision: 36003
2008-09-15 19:17:15 +00:00
Cedric BAIL
c52f7b7b62
Make inline only usefull function.
...
Return information about potential error during eina_array_remove.
SVN revision: 35888
2008-09-08 12:19:15 +00:00
Vincent Torri
b73180cd01
* add array doc
...
* eina_array_push() returns now a bool
* fix compilation
SVN revision: 35871
2008-09-07 19:12:49 +00:00
Cedric BAIL
4390a37a70
Add eina_array_pop and rename eina_array_append by eina_array_push.
...
SVN revision: 35679
2008-08-26 10:23:45 +00:00
Cedric BAIL
13e1ab352d
Constness++
...
SVN revision: 35457
2008-08-13 09:24:49 +00:00
Cedric BAIL
c1959429af
Add some meaningfull const.
...
SVN revision: 35436
2008-08-11 16:21:19 +00:00
Cedric BAIL
6eacc6aa2d
After benchmarking, providing inline does impact performance of list and array user.
...
SVN revision: 35407
2008-08-08 14:25:37 +00:00
Cedric BAIL
ddaa7d4d8f
License changes (BSD -> LGPL)
...
SVN revision: 35360
2008-08-06 18:15:24 +00:00
Cedric BAIL
a9c6722814
Cleanup inline.
...
SVN revision: 35350
2008-08-06 15:42:33 +00:00
Cedric BAIL
67d2b46784
Fix and improvement for stringshare and array, thanks to the tests suite.
...
SVN revision: 35288
2008-08-01 12:26:35 +00:00
Cedric BAIL
edce92f017
Add array and cleanup lalloc namespace.
...
SVN revision: 35257
2008-07-30 16:34:54 +00:00