[hafqa] [hafqa] [Bug 795] Const build problems

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Wed Oct 4 13:45:57 EEST 2006
https://maemo.org/bugzilla/show_bug.cgi?id=795





------- Additional Comments From murrayc at murrayc.com  2006-10-04 13:45 -------
I believe you would solve some of the confusion by declaring the function
pointer type like so:

typedef DBusHandlerResult (* _osso_handler_f)(osso_context_t *osso,
				            DBusMessage *msg,
					    _osso_callback_data_t *data);


instead of like so:

typedef DBusHandlerResult (_osso_handler_f)(osso_context_t *osso,
				            DBusMessage *msg,
					    _osso_callback_data_t *data);

The former is more normal to me. With the second form you have to declare the
function pointer like so:
_osso_handler_f *handler;
instead of the simpler
_osso_handler_f handler;




-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list