-
-
Notifications
You must be signed in to change notification settings - Fork 704
Core Library
Index
- builtin
- c
- container
- dynlib
- encoding
- fmt
- hash
- intrinsics
- log
- math
- mem
- odin
- os
- path
- reflect
- runtime
- sort
- strconv
- strings
- sync
- thread
- time
- unicode
Core Odin procs that are available to use without any imports.
Current compiler platform os. "windows"
"darwin"
(MacOS) "linux"
The endianness of the target system. "little"
or "big"
.
A boolean indicating whether debug information was requested on the command line. (-debug
was passed.)
Alias for u8
.
Useful if you want to indicate that the u8
is being used as data instead of a number.
8-bit boolean type.
8-bit boolean type.
16-bit boolean type.
32-bit boolean type.
64-bit boolean type.
8-bit signed integer.
8-bit unsigned integer.
16-bit signed integer.
16-bit unsigned integer.
32-bit signed integer.
32-bit unsigned integer.
64-bit signed integer.
64-bit unsigned integer.
128-bit signed integer.
128-bit unsigned integer.
32-bit unicode codepoint.
32-bit floating point number.
64-bit floating point number.
Word-sized signed integer.
Not to be confused with C's int
.
Word-sized unsigned integer.
Not to be confused with C's unsigned int
.
Pointer to memory address. Same function as void *
in c. Prefer ^T
where possible in odin.
Any other pointer type will implicitly cast to rawptr
.
UTF-8 encoded string.
C style string with null terminator \0
Contains a pointer and a typeid
describing the type of the thing it is pointing to.
A unique ID for a type.
Types for interfacing for foreign c functions
i32 on all windows systems or when platform is 32 bit
i64 on all other 64 bit platforms
u32 on all windows systems or when platform is 32 bit
u64 on all other 64 bit platforms
u16 on windows
u32 on all other platforms