(libretro_common) Fix retro_stat - put it inside extern C block

This commit is contained in:
twinaphex 2015-09-30 03:41:01 +02:00
parent e4a781b489
commit 9d9e90e672
2 changed files with 9 additions and 1 deletions

View File

@ -152,7 +152,7 @@ bool path_is_character_special(const char *path)
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);
}

View File

@ -28,6 +28,10 @@
#include <boolean.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* path_is_directory:
* @path : path
@ -52,4 +56,8 @@ bool path_is_valid(const char *path);
**/
bool mkdir_norecurse(const char *dir);
#ifdef __cplusplus
}
#endif
#endif