This commit is contained in:
Spartan322
2025-01-04 00:55:26 -05:00
376 changed files with 3848 additions and 2763 deletions

View File

@@ -40,8 +40,6 @@
#if defined(UNIX_ENABLED)
typedef void (*CloseNotificationFunc)(const String &p_file, int p_flags);
class FileAccessUnix : public FileAccess {
FILE *f = nullptr;
int flags = 0;
@@ -58,6 +56,7 @@ class FileAccessUnix : public FileAccess {
#endif
public:
typedef void (*CloseNotificationFunc)(const String &p_file, int p_flags);
static CloseNotificationFunc close_notification_func;
virtual Error open_internal(const String &p_path, int p_mode_flags) override; ///< open a file