mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Replace NULL with nullptr (#1321)
This commit is contained in:
@@ -53,7 +53,7 @@ void fstk_AddIncludePath(char const *s);
|
||||
void fstk_SetPreIncludeFile(char const *s);
|
||||
/*
|
||||
* @param path The user-provided file name
|
||||
* @return A pointer to the `new`-allocated full path, or NULL if no path worked
|
||||
* @return A pointer to the `new`-allocated full path, or `nullptr` if no path worked
|
||||
*/
|
||||
std::string *fstk_FindFile(char const *path);
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ struct LexerState {
|
||||
|
||||
bool capturing; // Whether the text being lexed should be captured
|
||||
size_t captureSize; // Amount of text captured
|
||||
char *captureBuf; // Buffer to send the captured text to if non-NULL
|
||||
char *captureBuf; // Buffer to send the captured text to if non-null
|
||||
size_t captureCapacity; // Size of the buffer above
|
||||
|
||||
bool disableMacroArgs;
|
||||
|
||||
Reference in New Issue
Block a user