<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Liste chaînée simple avec Eina.</title>
	<atom:link href="http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/</link>
	<description>Auto-entrepreneur</description>
	<lastBuildDate>Wed, 04 Jan 2012 15:28:24 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jordan Zapatos</title>
		<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/comment-page-1/#comment-24</link>
		<dc:creator>Jordan Zapatos</dc:creator>
		<pubDate>Wed, 04 Jan 2012 15:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.creasso.org/?p=16#comment-24</guid>
		<description>Youre so cool! I dont suppose Ive read anything like this before. So good to search out any individual with some unique ideas on this subject. realy thanks for beginning this up. this web site is one thing that is wanted on the internet, somebody with a little originality. useful job for bringing something new to the web!</description>
		<content:encoded><![CDATA[<p>Youre so cool! I dont suppose Ive read anything like this before. So good to search out any individual with some unique ideas on this subject. realy thanks for beginning this up. this web site is one thing that is wanted on the internet, somebody with a little originality. useful job for bringing something new to the web!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: google</title>
		<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/comment-page-1/#comment-15</link>
		<dc:creator>google</dc:creator>
		<pubDate>Tue, 30 Aug 2011 12:41:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.creasso.org/?p=16#comment-15</guid>
		<description>I liked your article is an interesting technology 
thanks to google I found you</description>
		<content:encoded><![CDATA[<p>I liked your article is an interesting technology<br />
thanks to google I found you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TERRENCE</title>
		<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/comment-page-1/#comment-12</link>
		<dc:creator>TERRENCE</dc:creator>
		<pubDate>Mon, 01 Aug 2011 17:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.creasso.org/?p=16#comment-12</guid>
		<description>&lt;strong&gt;&lt;b&gt;&lt;a href=&quot;http://trig.com/abilify5698/biography/?ml=Order-Discount-Abilify Order@Discount.Abilify&quot; rel=&quot;nofollow&quot;&gt;..&lt;/a&gt;&lt;/b&gt;&lt;/blockquote&gt;...&lt;/strong&gt;

Buyit now...</description>
		<content:encoded><![CDATA[<p><strong><b><a href="http://trig.com/abilify5698/biography/?ml=Order-Discount-Abilify <a href="mailto:Order@Discount.Abilify">Order@Discount.Abilify</a>&#8221; rel=&#8221;nofollow&#8221;>..</b>&#8230;</strong></p>
<p>Buyit now&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Orlikowski</title>
		<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/comment-page-1/#comment-10</link>
		<dc:creator>Sean Orlikowski</dc:creator>
		<pubDate>Fri, 15 Jul 2011 19:06:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.creasso.org/?p=16#comment-10</guid>
		<description>I have never seen such impressive ideas presented in writing. Your writer has a very unique way of presenting information in such a way as to catch the reader’s attention.</description>
		<content:encoded><![CDATA[<p>I have never seen such impressive ideas presented in writing. Your writer has a very unique way of presenting information in such a way as to catch the reader’s attention.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rookmoot</title>
		<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/comment-page-1/#comment-8</link>
		<dc:creator>rookmoot</dc:creator>
		<pubDate>Thu, 12 Aug 2010 11:23:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.creasso.org/?p=16#comment-8</guid>
		<description>Ce billet est un peu vieux, et l&#039;API de EINA a peut être changé depuis, renseigne toi auprès de cédric ou sur la documentation de Eina.

Mais les listes prennent des adresses en paramètre oui, après tu peux bien sur passé une référence à une variable simple. Mais dès la mort de ta variable, ton noeud ne pointera plus sur rien... :)</description>
		<content:encoded><![CDATA[<p>Ce billet est un peu vieux, et l&#8217;API de EINA a peut être changé depuis, renseigne toi auprès de cédric ou sur la documentation de Eina.</p>
<p>Mais les listes prennent des adresses en paramètre oui, après tu peux bien sur passé une référence à une variable simple. Mais dès la mort de ta variable, ton noeud ne pointera plus sur rien&#8230; <img src='http://www.creasso.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Issa</title>
		<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/comment-page-1/#comment-7</link>
		<dc:creator>Issa</dc:creator>
		<pubDate>Sat, 10 Jul 2010 07:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.creasso.org/?p=16#comment-7</guid>
		<description>Par contre j&#039;ai oublié de poser ma question donc :

par contre ce que je comprend pas pourquoi on ne peut ajjouter que des pointeurs dans une list ?

pourquoi par exemple si je fais ceci ça ne marche pas :

le code :
#include 
 
int main()
{
 const int val1 = 10,val2 = 20, val3 = 30, val4 = 40;
  Eina_List *list = NULL, *l = NULL;
   int *data;

 
  eina_init();
 
 
    list = eina_list_append(list, val1);
    list = eina_list_append(list, val2);
    list = eina_list_append(list, val3);
    list = eina_list_append(list, val4);
 
  EINA_LIST_FOREACH(list, l, data)
    printf(&quot;argument : %d\n&quot;, data);
 
  return 0;
}


a la compile j&#039;ai ces erreurs :
issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST$ make
---  compilation main.c  ---
main.c: In function ‘main’:
main.c:13: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’
main.c:14: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’
main.c:15: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’
main.c:16: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’
main.c:19: warning: implicit declaration of function ‘printf’
main.c:19: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:19: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘int *’
--- Cr�ation ex�cutable : bin/main  ---
 et pourtant quand je lance mon programme il marche :

issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST/bin$ ./main 
argument : 10
argument : 20
argument : 30
argument : 40

Donc ma question est comment ne plus avoir ces warnins ?
et est ce que dans une EINA_LIST on peut mettre des variables de type différentes ?</description>
		<content:encoded><![CDATA[<p>Par contre j&#8217;ai oublié de poser ma question donc :</p>
<p>par contre ce que je comprend pas pourquoi on ne peut ajjouter que des pointeurs dans une list ?</p>
<p>pourquoi par exemple si je fais ceci ça ne marche pas :</p>
<p>le code :<br />
#include </p>
<p>int main()<br />
{<br />
 const int val1 = 10,val2 = 20, val3 = 30, val4 = 40;<br />
  Eina_List *list = NULL, *l = NULL;<br />
   int *data;</p>
<p>  eina_init();</p>
<p>    list = eina_list_append(list, val1);<br />
    list = eina_list_append(list, val2);<br />
    list = eina_list_append(list, val3);<br />
    list = eina_list_append(list, val4);</p>
<p>  EINA_LIST_FOREACH(list, l, data)<br />
    printf(&#8221;argument : %d\n&#8221;, data);</p>
<p>  return 0;<br />
}</p>
<p>a la compile j&#8217;ai ces erreurs :<br />
issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST$ make<br />
&#8212;  compilation main.c  &#8212;<br />
main.c: In function ‘main’:<br />
main.c:13: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast<br />
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’<br />
main.c:14: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast<br />
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’<br />
main.c:15: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast<br />
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’<br />
main.c:16: warning: passing argument 2 of ‘eina_list_append’ makes pointer from integer without a cast<br />
/home/issa/usr/E17svn/include/eina-0/eina/eina_list.h:78: note: expected ‘const void *’ but argument is of type ‘int’<br />
main.c:19: warning: implicit declaration of function ‘printf’<br />
main.c:19: warning: incompatible implicit declaration of built-in function ‘printf’<br />
main.c:19: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘int *’<br />
&#8212; Cr�ation ex�cutable : bin/main  &#8212;<br />
 et pourtant quand je lance mon programme il marche :</p>
<p>issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST/bin$ ./main<br />
argument : 10<br />
argument : 20<br />
argument : 30<br />
argument : 40</p>
<p>Donc ma question est comment ne plus avoir ces warnins ?<br />
et est ce que dans une EINA_LIST on peut mettre des variables de type différentes ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Issa</title>
		<link>http://www.creasso.org/2008/11/28/liste-chainee-simple-avec-eina/comment-page-1/#comment-6</link>
		<dc:creator>Issa</dc:creator>
		<pubDate>Sat, 10 Jul 2010 07:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.creasso.org/?p=16#comment-6</guid>
		<description>Hello cool !
mais quand on compile ton programme il y a des warnings :

issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST$ make
---  compilation main.c  ---
main.c: In function ‘main’:
main.c:18: warning: implicit declaration of function ‘printf’
main.c:18: warning: incompatible implicit declaration of built-in function ‘printf’
--- Cr�ation ex�cutable : bin/main  ---

mais cela marche bien quand même quand je le lance :
issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST/bin$ ./main mot1 mot2 mot3 mot4 mot5
argument : ./main
argument : mot1
argument : mot2
argument : mot3
argument : mot4
argument : mot5</description>
		<content:encoded><![CDATA[<p>Hello cool !<br />
mais quand on compile ton programme il y a des warnings :</p>
<p>issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST$ make<br />
&#8212;  compilation main.c  &#8212;<br />
main.c: In function ‘main’:<br />
main.c:18: warning: implicit declaration of function ‘printf’<br />
main.c:18: warning: incompatible implicit declaration of built-in function ‘printf’<br />
&#8212; Cr�ation ex�cutable : bin/main  &#8212;</p>
<p>mais cela marche bien quand même quand je le lance :<br />
issa@issa-desktop:/media/Element/programmation/SYSTEM/TEST_EINA_LIST/bin$ ./main mot1 mot2 mot3 mot4 mot5<br />
argument : ./main<br />
argument : mot1<br />
argument : mot2<br />
argument : mot3<br />
argument : mot4<br />
argument : mot5</p>
]]></content:encoded>
	</item>
</channel>
</rss>

