use nullptr instead of NULL

This commit is contained in:
john30
2018-05-06 14:54:52 +02:00
parent dc12476bc1
commit 1c17f7c466
41 changed files with 625 additions and 626 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ typedef unsigned char symbol_t;
* @return the parsed value.
*/
unsigned int parseInt(const char* str, int base, unsigned int minValue, unsigned int maxValue,
result_t* result, size_t* length = NULL);
result_t* result, size_t* length = nullptr);
/**
* Parse a signed int value.
@@ -110,7 +110,7 @@ unsigned int parseInt(const char* str, int base, unsigned int minValue, unsigned
* @return the parsed value.
*/
int parseSignedInt(const char* str, int base, int minValue, int maxValue,
result_t* result, size_t* length = NULL);
result_t* result, size_t* length = nullptr);
/**
* A string of unescaped bus symbols.