tasn pushed a commit to branch master.

commit acd705fe9f6f8eca543900acc109a55f49cbc2d0
Author: Tom Hacohen <[email protected]>
Date:   Tue Mar 26 11:24:17 2013 +0000

    Eina examples: Fixed eina magic example.
    
    Return a value in the "new" function...
---
 src/examples/eina/eina_magic_01.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/examples/eina/eina_magic_01.c 
b/src/examples/eina/eina_magic_01.c
index f42e193..244f202 100644
--- a/src/examples/eina/eina_magic_01.c
+++ b/src/examples/eina/eina_magic_01.c
@@ -46,6 +46,8 @@ pilot_new(const char *name, const char *callsign)
    EINA_MAGIC_SET(&ptr->base, BASETYPE_MAGIC);
    ptr->base.name = strdup(name);
    ptr->callsign = strdup(callsign);
+
+   return ptr;
 }
 
 void

-- 

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d

Reply via email to