Yo felipe,

On 02/05/2014 09:39 PM, Felipe Magno de Almeida wrote:
> On Wed, Jan 29, 2014 at 12:41 PM, daniel.za...@samsung.com <
> daniel.za...@samsung.com> wrote:
> [snip]
>
>
>> We thought pushing next week in efl repo an example of a splitted class,
>> to let people comment and review before the big change.
>>
> I dont know if this helps anything. But I've created a C++ application that
> reads C headers and checks for what it thinks is Eo1 function definitions
> (by reading macro definitions).
>
> The code is at https://github.com/felipealmeida/eo-read.
>
> The following command:
>
> ./eo-read -I ~/dev/efl-eina-cxx-prefix/include/efl-1  -I
> ~/dev/efl-eina-cxx-prefix/include/evas-1/   -I
> ~/dev/efl-eina-cxx-prefix/include/eo-1/ -I
> ~/dev/efl-eina-cxx-prefix/include/eina-1  -I
> ~/dev/efl-eina-cxx-prefix/include/eina-1/eina/ -f
> ~/dev/efl-eina-cxx-prefix/include/evas-1/Evas.h
>
> Returns to me the following output:
>
> Found 428 functions
>
> The heuristic is basically to search macros functions that get one
> parameter and that have the following tokens as definition (with spaces or
> not between them): (someid + parameter) and save the macro's name.
>
> Them it looks for macro function definitions that have the following
> pattern as definition
>
> someid(someotheridentifier)[, EO_TYPECHECK(tokens+, paramx)]+
Do you mean this is a tool that can help us for the splitting?
Because we have some python script that does it relatively well. I mean 
that most of the changes to make are done automatically, even the return 
modifications.

Thank you anyway.
>
>
>> JackDanielZ, alias me
>>
> Regards,


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to