diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-04-26 10:34:35 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2024-11-06 13:33:38 +0200 |
commit | 76164c2aa9e94a0002ed266ac6b6ba5193801bb3 (patch) | |
tree | b1be7cb93e5a9cea819b3fd4a0e2a118168f16f0 /drivers/unix/os_unix.h | |
parent | 87318a2fb7fffeb72adca934e31915be077c3d1f (diff) | |
download | redot-engine-76164c2aa9e94a0002ed266ac6b6ba5193801bb3.tar.gz |
[OS] Add functions to determine standard I/O device type.
Diffstat (limited to 'drivers/unix/os_unix.h')
-rw-r--r-- | drivers/unix/os_unix.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.h b/drivers/unix/os_unix.h index 3add5df055..2c7920c142 100644 --- a/drivers/unix/os_unix.h +++ b/drivers/unix/os_unix.h @@ -58,7 +58,11 @@ public: virtual Vector<String> get_video_adapter_driver_info() const override; - virtual String get_stdin_string() override; + virtual String get_stdin_string(int64_t p_buffer_size = 1024) override; + virtual PackedByteArray get_stdin_buffer(int64_t p_buffer_size = 1024) override; + virtual StdHandleType get_stdin_type() const override; + virtual StdHandleType get_stdout_type() const override; + virtual StdHandleType get_stderr_type() const override; virtual Error get_entropy(uint8_t *r_buffer, int p_bytes) override; |