hotplug: further refinement of API doc comments
This commit is contained in:
parent
ec5b0687a8
commit
9562fb8074
2 changed files with 21 additions and 9 deletions
|
|
@ -891,6 +891,10 @@ static PaDeviceConnectionId nextDeviceConnectionId_ = 1000;
|
|||
|
||||
PaDeviceConnectionId PaUtil_MakeDeviceConnectionId( void )
|
||||
{
|
||||
/* FIXME: if the counter wraps around we may want to ensure that
|
||||
we are not issuing an ID that belongs to a current device.
|
||||
we need to honor the invariant "no two devices have the same connection id"
|
||||
*/
|
||||
return nextDeviceConnectionId_++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue