mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use std::optional for fstack paths
This commit is contained in:
@@ -59,11 +59,7 @@ char const *fstk_GetFileName();
|
||||
|
||||
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 `nullptr` if no path worked
|
||||
*/
|
||||
std::string *fstk_FindFile(char const *path);
|
||||
std::optional<std::string> fstk_FindFile(char const *path);
|
||||
|
||||
bool yywrap();
|
||||
void fstk_RunInclude(char const *path);
|
||||
|
||||
Reference in New Issue
Block a user