mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
(libretro_common) Fix retro_stat - put it inside extern C block
This commit is contained in:
parent
e4a781b489
commit
9d9e90e672
@ -152,7 +152,7 @@ bool path_is_character_special(const char *path)
|
|||||||
return path_stat(path, IS_CHARACTER_SPECIAL);
|
return path_stat(path, IS_CHARACTER_SPECIAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool stat_is_valid(const char *path)
|
bool path_is_valid(const char *path)
|
||||||
{
|
{
|
||||||
return path_stat(path, IS_VALID);
|
return path_stat(path, IS_VALID);
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,10 @@
|
|||||||
|
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* path_is_directory:
|
* path_is_directory:
|
||||||
* @path : path
|
* @path : path
|
||||||
@ -52,4 +56,8 @@ bool path_is_valid(const char *path);
|
|||||||
**/
|
**/
|
||||||
bool mkdir_norecurse(const char *dir);
|
bool mkdir_norecurse(const char *dir);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user