Blender
V3.3
|
Compatibility-like things for windows. More...
Go to the source code of this file.
Classes | |
struct | dirent |
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | _USE_MATH_DEFINES |
#define | MAXPATHLEN MAX_PATH |
#define | S_ISREG(x) (((x)&_S_IFREG) == _S_IFREG) |
#define | S_ISDIR(x) (((x)&_S_IFDIR) == _S_IFDIR) |
#define | snprintf _snprintf |
#define | _SSIZE_T_ |
#define | HAVE_SSIZE_T 1 |
Typedefs | |
typedef unsigned int | mode_t |
typedef SSIZE_T | ssize_t |
typedef struct __dirstream | DIR |
Functions | |
DIR * | opendir (const char *path) |
struct dirent * | readdir (DIR *dp) |
int | closedir (DIR *dp) |
const char * | dirname (char *path) |
bool | BLI_windows_register_blend_extension (bool background) |
void | BLI_windows_get_default_root_dir (char root_dir[4]) |
int | BLI_windows_get_executable_dir (char *str) |
Compatibility-like things for windows.
Definition in file BLI_winstuff.h.
#define _SSIZE_T_ |
Definition at line 67 of file BLI_winstuff.h.
#define _USE_MATH_DEFINES |
Definition at line 39 of file BLI_winstuff.h.
#define HAVE_SSIZE_T 1 |
Definition at line 70 of file BLI_winstuff.h.
#define MAXPATHLEN MAX_PATH |
Definition at line 42 of file BLI_winstuff.h.
Definition at line 48 of file BLI_winstuff.h.
Definition at line 45 of file BLI_winstuff.h.
#define snprintf _snprintf |
Definition at line 53 of file BLI_winstuff.h.
#define WIN32_LEAN_AND_MEAN |
Definition at line 17 of file BLI_winstuff.h.
typedef struct __dirstream DIR |
Intentionally opaque to users.
Definition at line 71 of file BLI_winstuff.h.
typedef unsigned int mode_t |
Definition at line 64 of file BLI_winstuff.h.
typedef SSIZE_T ssize_t |
Definition at line 71 of file BLI_winstuff.h.
void BLI_windows_get_default_root_dir | ( | char | root_dir[4] | ) |
int BLI_windows_get_executable_dir | ( | char * | str | ) |
Referenced by arg_handle_register_extension(), and associate_blend_exec().
int closedir | ( | DIR * | dp | ) |
const char* dirname | ( | char * | path | ) |
DIR* opendir | ( | const char * | path | ) |