Initializing a Evas_object type struct in tizen

Initializing a Evas_object type struct in tizen

BY 13 Mar 2017 Native Application Development

I am have a struct:

typedef struct appdata {
    Evas_Object *wdn;
	Evas_Object *cf;
	Evas_Object *nf;
	Evas_Object *usrnamebtn;
	Evas_Object *usrpwbtn;
} appdata_s;

when i try to create a pointer :

appdata_s *LoginViewptr;

and try  to use it i get an error. 

How do i properly initilize a struct pointer. Normally, i would use null/ nullptr, but that doesn’t work. Maybe i am not doing it correctly.

 

Written by