static Eina_Bool _path_absolute_check(const char *path) { #ifdef _WIN32 return evil_path_is_absolute(path); #else return (path[0] == DSEP_C); #endif }
int evas_file_path_is_full_path(const char *path) { if (!path) return 0; #ifdef _WIN32 if (evil_path_is_absolute(path)) return 1; #else if (path[0] == '/') return 1; #endif return 0; }
static int test_path_absolute_test_6(void) { char *path; int result; path = "C:\\foo"; result = evil_path_is_absolute(path); if (result == 0) return 0; return 1; }
static int test_path_absolute_test_4(void) { char *path; int result; path = "1/\\"; result = evil_path_is_absolute(path); if (result != 0) return 0; return 1; }