18#if defined(__MINGW32__) || defined(_WIN32)
21#define PATH_SEPARATOR '\\'
22#define PATH_SEPARATOR_STR "\\"
26#define PATH_SEPARATOR '/'
27#define PATH_SEPARATOR_STR "/"
bool get_user_std_path(char *buffer, size_t buffer_size)
Get the user-local Luma standard library path.
Definition std_path.c:39
const char * normalize_std_import(const char *path)
Normalize a path by removing "std/" prefix if present.
Definition std_path.c:13
bool get_system_std_path(char *buffer, size_t buffer_size)
Get the system-wide Luma standard library path.
Definition std_path.c:24
bool resolve_std_path(const char *import_path, char *buffer, size_t buffer_size)
Resolve a std/ import path to an actual file path.
Definition std_path.c:65
void print_std_search_paths(void)
Definition std_path.c:132
bool file_exists(const char *path)
Check if a file exists at the given path.
Definition std_path.c:3