Changed getpollingmessagelimit to return an int
parent
71176137ca
commit
4a81b9443a
|
|
@ -228,7 +228,7 @@ bool icsneo_getMessages(const neodevice_t* device, neomessage_t* messages, size_
|
|||
return true;
|
||||
}
|
||||
|
||||
size_t icsneo_getPollingMessageLimit(const neodevice_t* device) {
|
||||
int icsneo_getPollingMessageLimit(const neodevice_t* device) {
|
||||
if(!icsneo_isValidNeoDevice(device))
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
|
|
@ -269,7 +269,7 @@ extern bool DLLExport icsneo_getMessages(const neodevice_t* device, neomessage_t
|
|||
*
|
||||
* See icsneo_enableMessagePolling() for more information about the message polling system.
|
||||
*/
|
||||
extern size_t DLLExport icsneo_getPollingMessageLimit(const neodevice_t* device);
|
||||
extern int DLLExport icsneo_getPollingMessageLimit(const neodevice_t* device);
|
||||
|
||||
/**
|
||||
* \brief Set the maximum number of messages which will be held in the API managed buffer for the specified hardware.
|
||||
|
|
|
|||
Loading…
Reference in New Issue