Hello,
  Wanted to drop a note to the thread and let everyone know that
switching to Eina_Bool for the return type worked perfect.

Thanks Raster (and co ;-) ).

Jess

Carsten Haitzler (The Rasterman) wrote:
> On Mon, 6 Sep 2010 19:57:15 -0400 Jesse Charbneau <[email protected]> 
> said:
>
> callback prototypes changed - they return Eina_Boool now. see the header files
> for Ecore etc. and adjust appropriately.
>
>   
>> Hello,
>>   I’ve been trying to resurrect some code I wrote some time ago using
>> Ecore/Ecore_IPC.  It was failing, so in troubleshooting I came across a
>> sample in the cookbook handling IPC server and client communication.  In
>> comparison, my code looks correct.  Upon trying to build the code from the
>> cookbook, I get the same error as when compiling my own code.  I was
>> wondering if something possibly changed and has not quite made it to the
>> documentation yet, or if there is a newer, better way to develop ipc apps?
>>
>> Here is the cookbook entry:
>> http://docs.enlightenment.org/books/cookbook/eflcookbook.html#id2538076
>>
>> Here is the error I am getting when compiling both my code as well as the
>> sample from the cookbook:
>>
>> j...@jess-laptop:/home/jess/c/e_dev/examples/ecore_ipc/server# ./compile.sh
>> 2>&1  | head -10 main.c: In function ‘setup_ipc_server’:
>> main.c:177: warning: passing argument 2 of ‘ecore_event_handler_add’ from
>> incompatible pointer type /opt/e17.2/include/ecore-1/Ecore.h:335: note:
>> expected ‘Ecore_Event_Handler_Cb’ but argument is of type ‘int (*)(void *,
>> int,  void *)’ main.c:178: warning: passing argument 2 of
>> ‘ecore_event_handler_add’ from incompatible pointer
>> type /opt/e17.2/include/ecore-1/Ecore.h:335: note: expected
>> ‘Ecore_Event_Handler_Cb’ but argument is of type ‘int (*)(void *, int,  void
>> *)’ main.c:179: warning: passing argument 2 of ‘ecore_event_handler_add’ from
>> incompatible pointer type /opt/e17.2/include/ecore-1/Ecore.h:335: note:
>> expected ‘Ecore_Event_Handler_Cb’ but argument is of type ‘int (*)(void *,
>> int,  void *)’
>>
>>
>> Thanks,
>> Jess
>>  
>> ------------------------------------------------------------------------------
>> This SF.net Dev2Dev email is sponsored by:
>>
>> Show off your parallel programming skills.
>> Enter the Intel(R) Threading Challenge 2010.
>> http://p.sf.net/sfu/intel-thread-sfd
>> _______________________________________________
>> enlightenment-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>>     
>
>
>   


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to