Crate neotron_api
source ·Expand description
The Neotron API
Defines the API supplied to applications that run on Neotron OS. This API is
provided in the form of a rust struct Api
, where every field is a function
pointer.
Modules§
- Directory related types
- File related types
- Path related types.
Structs§
- The syscalls provided by the Neotron OS to a Neotron Application.
- A Rust u8 mutable slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
- A Rust u8 slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
- A Rust UTF-8 string, but compatible with FFI.
Enums§
- Describes how something has failed
Constants§
- Maximum length of a filename (with no directory components), including the extension.
Type Aliases§
- The type of the entry function for an application
- The result type for any SDK API function.