dix: change GetEventList to return length of list and set parameter in place.

Changing DDXs to use new prototype too.
This commit is contained in:
Peter Hutterer 2008-02-03 10:15:40 +10:30
commit 74628d6397
4 changed files with 14 additions and 13 deletions

View file

@ -77,10 +77,11 @@ extern Bool XkbCopyKeymap(XkbDescPtr src, XkbDescPtr dst, Bool sendNotifies);
EventListPtr InputEventList = NULL;
int InputEventListLen = 0;
_X_EXPORT EventListPtr
GetEventList()
_X_EXPORT int
GetEventList(EventListPtr* list)
{
return InputEventList;
*list = InputEventList;
return InputEventListLen;
}
/**