libsigrokdecode: Add initial return code list.
This commit is contained in:
parent
e31b636df6
commit
2b3414a497
4
sigrok.h
4
sigrok.h
|
@ -35,8 +35,8 @@
|
||||||
* use these #defines instead. All error codes are negative numbers.
|
* use these #defines instead. All error codes are negative numbers.
|
||||||
*
|
*
|
||||||
* The error codes are globally unique in libsigrok, i.e. if one of the
|
* The error codes are globally unique in libsigrok, i.e. if one of the
|
||||||
* libsigrok function returns a "malloc error" it must be exactly the same
|
* libsigrok functions returns a "malloc error" it must be exactly the same
|
||||||
* return value as used for all other functions to indicate "malloc error".
|
* return value as used by all other functions to indicate "malloc error".
|
||||||
* There must be no functions which indicate two different errors via the
|
* There must be no functions which indicate two different errors via the
|
||||||
* same return code.
|
* same return code.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue