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§
Structs§
- Api
- The syscalls provided by the Neotron OS to a Neotron Application.
- FfiBuffer
- A Rust u8 mutable slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
- FfiByte
Slice - A Rust u8 slice, but compatible with FFI. Assume the lifetime is only valid until the callee returns to the caller.
- FfiString
- A Rust UTF-8 string, but compatible with FFI.
Enums§
- Error
- Describes how something has failed
Constants§
- MAX_
FILENAME_ LEN - Maximum length of a filename (with no directory components), including the extension.
Type Aliases§
- AppStart
Fn - The type of the entry function for an application
- Result
- The result type for any SDK API function.