Enlightenment CVS schrieb:
> Enlightenment CVS committal
>
> Author : raster
> Project : e17
> Module : libs/edje
>
> Dir : e17/libs/edje/src/lib
>
>
> Modified Files:
> edje_script_only.c
>
>
> Log Message:
>
>
> doing some work on a test script object and actually making it work.
>
> ===================================================================
> RCS file: /cvs/e/e17/libs/edje/src/lib/edje_script_only.c,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -3 -r1.1 -r1.2
> --- edje_script_only.c 30 May 2008 11:20:49 -0000 1.1
> +++ edje_script_only.c 30 May 2008 15:29:39 -0000 1.2
> @@ -92,29 +92,58 @@
> #define IFNJ(type) if (!si->job.type)
> #define EXPF(func) embryo_program_native_call_add(ed->collection->script,
> #func, _exp_##func)
>
> -/* FIXME: need an oid -> ptr translation here. this is a hack. id # is
> linear\
> - * and runs out after 2billion uses or so. the hash is fat if all u have is
> - * a few objects... doesn't know how to do anything but evas_object as it
> - * will evas_object_del at the end... so for now this is a testing stub. */
> +typedef struct _Oid Oid;
> +
> +struct _Oid
> +{
> + Edje *ed;
> + Evas_Object *obj;
> + Evas_Coord x, y, w, h;
> + int oid;
> +};
> +
> +/* FIXME: using evas_hash and strings is just nasty! make a custom int hash
> */
>
Since edje depends on ecore, can't you then use ecore_hash instead?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel