[packagekit] backend 0.4.x and 0.5.x compatibility

Aşkın Yollu askin at askin.ws
Thu Aug 27 00:01:57 PDT 2009


hi,
I develop pisi backend on 0.4.9. I want backend is compatible with
0.5.x. But i have some problem.
Some  functions definition different between 0.4.9 and 0.5.x, so i get
incompatible pointer type error

example:
void		(*install_packages)		(PkBackend	*backend,
							 gchar		**package_ids);

void		(*install_packages)		(PkBackend	*backend,
							 gboolean	 only_trusted,
							 gchar		**package_ids);

how can i write compatible backend between 0.4.9 and 0.5.x?

thanks

Aşkın Yollu



More information about the PackageKit mailing list