Files
news.gitea.happylizard.me/bin/gems/ffi-1.17.4-x86_64-linux-gnu/sig/ffi/platform.rbs
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

50 lines
726 B
Plaintext

module FFI
class PlatformError < LoadError
end
module Platform
OS: String
OSVERSION: Integer
CPU: String
ARCH: String
IS_GNU: bool
IS_LINUX: bool
IS_MAC: bool
IS_FREEBSD: bool
IS_NETBSD: bool
IS_OPENBSD: bool
IS_DRAGONFLYBSD: bool
IS_SOLARIS: bool
IS_WINDOWS: bool
IS_BSD: bool
NAME: String
CONF_DIR: String
LIBPREFIX: String
LIBSUFFIX: String
LIBC: String
LITTLE_ENDIAN: Integer
BIG_ENDIAN: Integer
def self.bsd?: () -> bool
def self.windows?: () -> bool
def self.mac?: () -> bool
def self.solaris?: () -> bool
def self.unix?: () -> bool
private
def self.is_os: (String os) -> bool
end
end