Eina examples: Fixed eina magic example.

Return a value in the "new" function...
This commit is contained in:
Tom Hacohen 2013-03-26 11:24:17 +00:00
parent b46016141d
commit 52dd8953ea
1 changed files with 2 additions and 0 deletions

View File

@ -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