mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 17:38:35 +02:00
Changed getpollingmessagelimit to return an int
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user